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

9 lines
344 B
Text
Raw Normal View History

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