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
- Linux
- CSS
- html
- system
- while
- Pipelining
- XML
- MIPS
- DS
- Java
- DATAPATH
- DB
- function
- for
- Algorithm
- javascript
- control
- mysql
- python
- Class
- computer
- data structure
- react
- DoM
- github
- php
- architecture
- instruction
- MacOS
- web
Archives
- Today
- Total
YYYEJI
[MIPS] Pseudo Instructions 본문
728x90
Pseudo instruction란?
실제 instruction은 아니지만 컴퓨터가 이해할 수 있는 instruction입니다.
✓ 간결한 코딩이 가능
✓ 생산성이 향상
① COPY
Ex) move $t0, $t1
→ MIPS에서는 add $t0, $t1, $zero로 인식합니다.
② Branch if Less Than
Ex) blt $t0, $t1, L
→ if ($t0 < $t1) goto L
③ Branch if Greater Than
Ex) bgt $t0, $t1, L
→ if ($t0 > $t1) goto L
④ Branch if Greater (Less) Than or Equal to
Ex) bge $t0, $t1, L
→ if ($t0 >= $t1) goto L
◡̈
'Computer architectures' 카테고리의 다른 글
[MIPS] Procedure call (0) | 2022.10.10 |
---|---|
[MIPS] Addressing mode (0) | 2022.10.10 |
[MIPS] LUI instruction (0) | 2022.10.10 |
[MIPS] Stored program Concept (0) | 2022.10.10 |
[MIPS] Format instruction identification (0) | 2022.10.10 |