MIPS representing instruction

2023. 1. 15. 15:07컴퓨터구조

instruction들은 2진수로 번역되어야한다. green sheet에 번호들이 나와있다.

간단한 add 명령어를 2진수로 바꿔볼 것이다.

add  $t0, $s1, $s2

add green sheet

add 명령어는 R타입이고 opcode는 0, funct는 20인 16진수이다.

R-type
register green sheet register number

register number를 보고 맞게 써주면 된다.

이런식으로 번역해주는 것이다.

'컴퓨터구조' 카테고리의 다른 글

pipelining  (0) 2023.02.07
MIPS processor  (0) 2023.02.07
MIPS-32 ISA 명령어 type  (0) 2023.01.14
MIPS 어셈블리어2  (0) 2023.01.14
빅엔디안, 리틀엔디안  (0) 2023.01.14