Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- data structure
- CSS
- instruction
- system
- Algorithm
- php
- control
- github
- while
- Pipelining
- DB
- Java
- DoM
- react
- architecture
- XML
- Class
- DS
- python
- html
- Linux
- MIPS
- for
- function
- web
- DATAPATH
- javascript
- computer
- MacOS
- mysql
Archives
- Today
- Total
YYYEJI
[CS] Instruction 구성 본문
728x90
Instruction Format
- 어셈블리 언어가 특정 형식의 이진수로 표현되는 동등한 기계 코드로 변환됩니다.
- Instruction length: 8bits, 16bits, 32bits, 64bits . . .
Word size
- 메모리의 기본 단위
- 데이터가 움직이는 통로의 기본 단위
- CPU와 MEMORY 사이에 있는 전달 통로가 WORD SIZE에 의해서 결정된다.
Variable size
- 여러개의 word size를 이어붙인 것
Opcode - Operation code
+, - , *, / etc.
Operands(address)
Data가 어디 있는지 표기
Number etc.
Opcode | Operands |
Total - 8 bits
Opcode - 3 bits
(Opcode는 총 8개를 가질 수 있음, 2의 3승)
Operand - 5 bits
(Operand는 32개의 Memory location을 저장할 수 있음, 2의 5승)
◡̈
'Computer architectures' 카테고리의 다른 글
[CS] Example for Operand (0) | 2022.09.19 |
---|---|
[CS] Number of Operands (0) | 2022.09.19 |
[CS] Special Purpose Registers (0) | 2022.09.19 |
[CS] 레지스터(Register)란 (0) | 2022.09.19 |
[CS] Computer System 간단하게 맛보기 (0) | 2022.09.19 |