csci2021/ArchLab/archlab-handout/sim/y86-code/prog2.yo

8 lines
308 B
Text
Raw Normal View History

2018-01-29 23:45:27 +00:00
| # prog2: Pad with 2 nop's
0x000: 30f20a00000000000000 | irmovq $10,%rdx
0x00a: 30f00300000000000000 | irmovq $3,%rax
0x014: 10 | nop
0x015: 10 | nop
0x016: 6020 | addq %rdx,%rax
0x018: 00 | halt