YYYEJI

[CS] Instruction 구성 본문

Computer architectures

[CS] Instruction 구성

YEJI ⍢ 2022. 9. 19. 16:22
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