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

8 lines
104 B
Text

# prog1: Pad with 3 nop's
irmovq $10,%rdx
irmovq $3,%rax
nop
nop
nop
addq %rdx,%rax
halt