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 | 29 | 30 | 31 |
Tags
- react
- Java
- XML
- system
- while
- Pipelining
- DS
- instruction
- computer
- Algorithm
- DATAPATH
- CSS
- mysql
- DoM
- github
- architecture
- MIPS
- MacOS
- php
- Linux
- data structure
- for
- function
- python
- web
- html
- DB
- Class
- control
- javascript
Archives
- Today
- Total
YYYEJI
[MIPS] sw Datapath (Single-Clock) 본문
728x90
lw, sw는 datapath가 다릅니다.
lw $t0, 32($t1)
sw $t0, 32($t1)
sw 를 살펴보겠습니다.
sw
① Instruction을 fetch하면서 PC의 값을 증가시킵니다.
② Register($t1)의 값을 읽습니다.
③ ALU를 통해 주소 값을 계산합니다.
계산된 주소 값을 Data memory로 보냅니다.
④ Data memory에서 앞에서 계산된 주소 값에 가서 값을 저장합니다.
◡̈
'Computer architectures' 카테고리의 다른 글
[MIPS] ALU를 control하는 signal (Single-Clock) (0) | 2022.11.07 |
---|---|
[MIPS] beq Datapath (Single-Clock) (0) | 2022.11.07 |
[MIPS] lw Datapath (Single-Clock) (0) | 2022.11.07 |
[MIPS] R-type Datapath (Single-Clock) (0) | 2022.11.07 |
[MIPS] Instruction에 따른 Functional units (0) | 2022.10.31 |