csci2021/ArchLab/archlab-handout/sim/y86-code/prog2.yo
Michael Zhang 1fa36db752
f
2018-01-29 17:45:27 -06:00

7 lines
308 B
Text

| # 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