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

6 lines
107 B
Text
Raw Normal View History

2018-01-29 23:45:27 +00:00
# Assembly Code to test semantics of pushq
irmovq 0x100, %rsp
pushq %rsp # Ambiguous
popq %rax
halt