Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
06_-_ISA_2.pdf
Search
Chen
October 05, 2022
Science
180
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
06_-_ISA_2.pdf
Chen
October 05, 2022
More Decks by Chen
See All by Chen
Example ROP in MIPS
tiffany_04192
0
67
defense
tiffany_04192
0
87
Dijkstra’s Algorithm
tiffany_04192
0
130
Floyd-Warshall
tiffany_04192
0
100
Topological sort DFS
tiffany_04192
0
100
BFS
tiffany_04192
0
140
DFS
tiffany_04192
0
130
Cache behavior
tiffany_04192
0
97
Cache miss paper
tiffany_04192
0
120
Other Decks in Science
See All in Science
第67回コンピュータビジョン勉強会論文紹介「RoboWheel: A Data Engine from Real-World Human Demonstrations for Cross-Embodiment Robotic Learning」
x_ttyszk
0
200
機械学習 - 決定木からはじめる機械学習
trycycle
PRO
0
1.6k
Where does the rigor go? Research software and the future of trustworthy science.
arfon
0
240
生成AIと司法書士の未来.pdf
tagtag
PRO
0
180
データベース14: B+木 & ハッシュ索引
trycycle
PRO
0
920
HOLO: Homography-Guided Pose Estimator Network for Fine-Grained Visual Localization on SD Maps
tomoaki0705
0
150
AIPシンポジウム 2025年度 成果報告会 「因果推論チーム」
sshimizu2006
3
640
Van Dare naar Durf
voginip
0
300
機械学習 - DBSCAN
trycycle
PRO
0
2.1k
機械学習 - 授業概要
trycycle
PRO
0
630
AI for Phage-Host prediction
michielstock
0
130
データベース12: 正規化(2/2) - データ従属性に基づく正規化
trycycle
PRO
0
1.7k
Featured
See All Featured
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
2.9k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
280
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
690
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
360
A Soul's Torment
seathinner
8
3.6k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.8k
So, you think you're a good person
axbom
PRO
2
2.2k
Skip the Path - Find Your Career Trail
mkilby
1
230
A Tale of Four Properties
chriscoyier
163
24k
Documentation Writing (for coders)
carmenintech
77
5.5k
[RailsConf 2023] Rails as a piece of cake
palkan
59
7k
Ethics towards AI in product and experience design
skipperchong
2
380
Transcript
24 Executing Add Register Value $0 0000 0000 $1 1234
5678 $2 C001 D00D $3 1BAD F00D $4 9999 9999 $5 ABAB ABAB $6 0000 0001 $7 0000 0002 $8 0000 0000 $9 0000 0000 $10 0000 0000 $11 0000 0000 $12 0000 0000 … … PC 0000 1000 Address Instruction 1000 add $8, $4, $6 1004 add $5, $8, $7 1008 add $6, $6, $6 100C … 1010 … PC tells us where to execute next RegFile Memory
25 Executing Add Register Value $0 0000 0000 $1 1234
5678 $2 C001 D00D $3 1BAD F00D $4 9999 9999 $5 ABAB ABAB $6 0000 0001 $7 0000 0002 $8 0000 0000 $9 0000 0000 $10 0000 0000 $11 0000 0000 $12 0000 0000 … … PC 0000 1000 Address Instruction 1000 add $8, $4, $6 1004 add $5, $8, $7 1008 add $6, $6, $6 100C … 1010 … Add reads its source registers, and uses their values directly (“register direct”) 9999 9999 0000 0001 9999 999A
26 Executing Add Register Value $0 0000 0000 $1 1234
5678 $2 C001 D00D $3 1BAD F00D $4 9999 9999 $5 ABAB ABAB $6 0000 0001 $7 0000 0002 $8 9999 999A $9 0000 0000 $10 0000 0000 $11 0000 0000 $12 0000 0000 … … PC 0000 1000 Address Instruction 1000 add $8, $4, $6 1004 add $5, $8, $7 1008 add $6, $6, $6 100C … 1010 … Add writes its result to its destination register
27 Executing Add Register Value $0 0000 0000 $1 1234
5678 $2 C001 D00D $3 1BAD F00D $4 9999 9999 $5 ABAB ABAB $6 0000 0001 $7 0000 0002 $8 9999 999A $9 0000 0000 $10 0000 0000 $11 0000 0000 $12 0000 0000 … … PC 0000 1004 Address Instruction 1000 add $8, $4, $6 1004 add $5, $8, $7 1008 add $6, $6, $6 100C … 1010 … And goes to the sequentially next instruction (PC = PC + 4) Why 4? Counts in bytes (8 bits) 32-bit system à 32/8 = 4 bytes per insn
28 Executing Add Register Value $0 0000 0000 $1 1234
5678 $2 C001 D00D $3 1BAD F00D $4 9999 9999 $5 9999 999C $6 0000 0001 $7 0000 0002 $8 9999 999A $9 0000 0000 $10 0000 0000 $11 0000 0000 $12 0000 0000 … … PC 0000 1008 Address Instruction 1000 add $8, $4, $6 1004 add $5, $8, $7 1008 add $6, $6, $6 100C … 1010 … We set $5 equal to $8 (9999 999A) + $7 (2) = 9999 999C and PC = PC +4
29 Executing Add Register Value $0 0000 0000 $1 1234
5678 $2 C001 D00D $3 1BAD F00D $4 9999 9999 $5 9999 999C $6 0000 0001 $7 0000 0002 $8 9999 999A $9 0000 0000 $10 0000 0000 $11 0000 0000 $12 0000 0000 … … PC 0000 1008 Address Instruction 1000 add $8, $4, $6 1004 add $5, $8, $7 1008 add $6, $6, $6 100C … 1010 … It’s perfectly fine to have $6 as a src and a dst This is just like x = x + x; in C, Java, etc: 1 + 1 = 2
30 Executing Add Register Value $0 0000 0000 $1 1234
5678 $2 C001 D00D $3 1BAD F00D $4 9999 9999 $5 9999 999C $6 0000 0002 $7 0000 0002 $8 9999 999A $9 0000 0000 $10 0000 0000 $11 0000 0000 $12 0000 0000 … … PC 0000 100C Address Instruction 1000 add $8, $4, $6 1004 add $5, $8, $7 1008 add $6, $6, $6 100C … 1010 … Its perfectly fine to have $6 as a src and a dst This is just like x = x + x; in C, Java, etc: 1 + 1 = 2