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

6 lines
90 B
Text

# prog3: Pad with 1 nop
irmovq $10,%rdx
irmovq $3,%rax
nop
addq %rdx,%rax
halt