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

15 lines
276 B
Text

irmovq $1, %rsi
irmovq $2, %rdi
irmovq $4, %rbp
irmovq $-32, %rax
irmovq $64, %rdx
subq %rdx,%rax
je target
nop
halt
target:
addq %rsi,%rdx
nop
nop
nop
halt