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
- XML
- javascript
- system
- DS
- Class
- while
- architecture
- Linux
- DoM
- for
- MIPS
- function
- mysql
- data structure
- react
- php
- Algorithm
- DATAPATH
- control
- python
- DB
- Pipelining
- html
- github
- MacOS
- computer
- instruction
- Java
- CSS
- web
Archives
- Today
- Total
YYYEJI
[CS] Number of Operands 본문
728x90
Three Operands
Add A, B C
Destination - A
Sources - B and C
(A ← B + C)
Opcode | Oprand #1 | Operand #2 | Operand #3 |
Two Operands
Add A, B
Destination - A
Sources - A and B
(A ← B + C)
Opcode | Operand #1 | Operand #2 |
One Operands
(Assume a special registerm accumulator to hold data value)
ADD A
Destination - AC (accumulator)
Sources: A and AC
(AC ← AC + A)
LD A
(Load store)
Destination - AC
Source - A
(AC ← A)
Opcode | Operand |
Zero operand
(Assume a Stack)
PUSH A
PUSH B
ADD (TOS ← A + B)
POP c (c ← TOS)
◡̈
'Computer architectures' 카테고리의 다른 글
[CS] Addressing Modes (0) | 2022.09.21 |
---|---|
[CS] Example for Operand (0) | 2022.09.19 |
[CS] Instruction 구성 (0) | 2022.09.19 |
[CS] Special Purpose Registers (0) | 2022.09.19 |
[CS] 레지스터(Register)란 (0) | 2022.09.19 |