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
버려진 값이 반대편으로 들어온다.
'Domain > 컴퓨터구조' 카테고리의 다른 글
7. I/O (Input/Output) (0) | 2020.03.12 |
---|---|
10. Computer Arithmetic (0) | 2020.03.12 |
12. Instruction Sets : Addressing Modes and Formats (0) | 2020.03.12 |
13. RISC vs CISC (0) | 2020.03.12 |
14. 파이프라인(pipeline) (0) | 2020.03.12 |