work on push/pop for proper values
Opened this issue · 1 comments
OxNinja commented
The value pushed on stack is incorrect
For the opcode 0x2cafeff
we get the following stack:
=====
Stack (0x55a6c753f2a0)
base: 0x55a6c753f2c0
top: 0x55a6c753f760
----- (0x55a6c753f2c0)
prev: (nil)
val: 0x7ffdae5c9c54 -> 0x55a6
next: 0x55a6c753f760
----- (0x55a6c753f760)
prev: 0x55a6c753f2c0
val: 0x7ffdae5c9bbc -> 0x55a6
next: (nil)
=====
The pushed value (or pointed one) should be 0xcafeff
instead of 0x55a6
OxNinja commented
Making stack
and regs
global does not change the bug.