Domain/컴퓨터구조
11. Instruction Set : Characteristrics and Function
Black.bean
2020. 3. 12. 21:09
Instruction(명령어)
구성요소
Opcode |
Operand1 Reference |
Operand2 Reference |
Operand3 Reference |
Next Instruction |
- Opcode : 수행해야 할 Code
- Operand1,2 reference : 수행해야 할 Data의 위치 정보
- Operand3 reference : 저장할 위치정보
- Next Instruction : 다음 수행할 명령어
* Operand가 저장된 위치
- Main memory, I/O device
- Register
- Immediate value
Endian Support
-Little endian
낮은 자릿수를 높은 주소에 저장.
-Big endian
높은 자릿수를 높은 주소에 저장
Shift and Rotate Operation
1. Logical shift
캐리는 버리고 새로 들어오는 값은 무조건 0이다.
2. Arithmetic shift
sign bit(부호)는 유지하고 바로 전 값이 버려진다.
3. rotate
버려진 값이 반대편으로 들어온다.