MIPS R-format Instructions
-> 32bit로 정보를 표현하는 방법
op : operation code (opcode) : 명령어가 실행될 연산의 종류
rs : first source register number : 첫번째 source operand 값이 들어있는 레지스터 주소
rt : second source register number : 두번째 source operand 값이 들어있는 레지스터 주소
rd : destination register number : 연산결과가 저장될 레지스터 주소
shamt : shift amount : shift 연산에서 이동의 크기
funct : function code : opfield 내 연산의 종류 중 한 연산을 구체적으로 지정
다양한 예시들
728x90
'학교생활 > 컴퓨터 구조' 카테고리의 다른 글
컴퓨터 구조 - I-format (0) | 2023.09.17 |
---|---|
컴퓨터 구조 - logical instructions (논리연산자) (0) | 2023.09.17 |
컴퓨터 구조 - MIPS 명령어들 정리(지금까지 배운 것) (0) | 2023.09.17 |
컴퓨터 구조 - substraction (0) | 2023.09.17 |
컴퓨터 구조 - signed/unsigned bit (0) | 2023.09.17 |