Add docs and tests for copy_special instruction. Fixes encoding issue that tests revealed.
This commit is contained in:
committed by
Jakob Stoklund Olesen
parent
4eb9a54096
commit
3b1b33e0ac
@@ -232,7 +232,7 @@ enc_i32_i64(x86.push, r.pushq, 0x50)
|
||||
enc_i32_i64(x86.pop, r.popq, 0x58)
|
||||
|
||||
# Copy Special
|
||||
enc_i64(base.copy_special, r.copysp, 0x89, w=1)
|
||||
I64.enc(base.copy_special, *r.copysp.rex(0x89, w=1))
|
||||
I32.enc(base.copy_special, *r.copysp(0x89))
|
||||
|
||||
# Adjust SP Imm
|
||||
|
||||
Reference in New Issue
Block a user