csci2021/ArchLab/archlab-handout/sim/y86-code/prog3.ys

7 lines
90 B
Text
Raw Normal View History

2018-01-29 23:45:27 +00:00
# prog3: Pad with 1 nop
irmovq $10,%rdx
irmovq $3,%rax
nop
addq %rdx,%rax
halt