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
70
defense
tiffany_04192
0
92
Dijkstra’s Algorithm
tiffany_04192
0
130
Floyd-Warshall
tiffany_04192
0
100
Topological sort DFS
tiffany_04192
0
110
BFS
tiffany_04192
0
140
DFS
tiffany_04192
0
130
Cache behavior
tiffany_04192
0
98
Cache miss paper
tiffany_04192
0
120
Other Decks in Science
See All in Science
AI(人工知能)の過去・現在・未来 ~AIは人類を越えるのか~
tagtag
PRO
0
170
機械学習 - DBSCAN
trycycle
PRO
0
2.2k
データベース10: 拡張実体関連モデル
trycycle
PRO
0
1.6k
Génétique moléculaire de la mortalité
institutdelelevage
PRO
0
270
(CVPR2026) Back to Basics: Let Denoising Generative Models Denoise
shumpei777
0
410
生成AI・プレプリント時代における 研究成果公開の再設計 ― トップカンファレンス文化はどこへ向かうのか / Redesigning the Dissemination of Research Outputs in the Age of Generative AI and Preprints — Where Is the Top-Conference Culture Heading?
ykiyota
0
30k
データベース03: 関係データモデル
trycycle
PRO
1
900
Cross-Media Technologies, Information Science and Human-Information Interaction
signer
PRO
3
33k
Cognitive Debt - What AI will do to us
martinlippert
1
120
Webinaire : Valorisez les résultats de vos projets européens avec EU-FarmBook
institutdelelevage
PRO
0
180
Visual Linear Algebra - Lecture at Shosen Grande
hiranabe
0
650
データベース09: 実体関連モデル上の一貫性制約
trycycle
PRO
0
1.9k
Featured
See All Featured
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.1k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
Visualization
eitanlees
153
17k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
Evolving SEO for Evolving Search Engines
ryanjones
0
330
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.8k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
850
Mind Mapping
helmedeiros
1
400
Into the Great Unknown - MozCon
thekraken
41
2.8k
Become a Pro
speakerdeck
PRO
31
6.3k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
550
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
600
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