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

6 lines
257 B
Text
Raw Normal View History

2018-01-29 23:45:27 +00:00
| # Assembly Code to test semantics of pushq
0x000: 30f40001000000000000 | irmovq 0x100, %rsp
0x00a: a04f | pushq %rsp # Ambiguous
0x00c: b00f | popq %rax
0x00e: 00 | halt