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

6 lines
270 B
Text

| # prog3: Pad with 1 nop
0x000: 30f20a00000000000000 | irmovq $10,%rdx
0x00a: 30f00300000000000000 | irmovq $3,%rax
0x014: 10 | nop
0x015: 6020 | addq %rdx,%rax
0x017: 00 | halt