Commit 1162fbfb authored by swift_gan's avatar swift_gan Committed by swift_gan

[NativeHook]fix push

parent 65d35307
...@@ -375,7 +375,7 @@ void T16_PUSH::decode(T16_STRUCT_PUSH *inst) { ...@@ -375,7 +375,7 @@ void T16_PUSH::decode(T16_STRUCT_PUSH *inst) {
} }
void T16_PUSH::assembler() { void T16_PUSH::assembler() {
SET_OPCODE(POP); SET_OPCODE(PUSH);
U16 regs = registerList.GetList(); U16 regs = registerList.GetList();
get()->regs = BITS(regs, 0, 7); get()->regs = BITS(regs, 0, 7);
get()->M = BIT(regs, 14); get()->M = BIT(regs, 14);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment