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

5 lines
107 B
Text

# Assembly Code to test semantics of pushq
irmovq 0x100, %rsp
pushq %rsp # Ambiguous
popq %rax
halt