mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Added test for lea
This commit is contained in:
parent
251531bdf0
commit
fe1cd076da
1 changed files with 1 additions and 0 deletions
|
@ -109,6 +109,7 @@ void run_tests()
|
|||
|
||||
// lea
|
||||
//cb_set_pos(cb, 0); lea(cb, EBX, mem_opnd(32, RSP, 4)); check_bytes(cb, "8D5C2404");
|
||||
cb_set_pos(cb, 0); lea(cb, RDX, mem_opnd(64, RCX, 8)); check_bytes(cb, "488D5108");
|
||||
|
||||
// mov
|
||||
cb_set_pos(cb, 0); mov(cb, EAX, imm_opnd(7)); check_bytes(cb, "B807000000");
|
||||
|
|
Loading…
Reference in a new issue