This commit is contained in:
Kartik K. Agaram 2017-10-12 21:39:29 -07:00
parent bdcb8015d4
commit 8c0f0989b0
1 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,5 @@
//:: add r32 to r/m32
:(scenario add_r32_to_rm32)
% Reg[3].i = 0x10;
% Reg[0].i = 0x60;
@ -48,6 +50,8 @@ int32_t* effective_address(uint8_t modrm) {
return result;
}
//:: add imm32 to r/m32
:(scenario add_imm32_to_rm32)
% Reg[3].i = 1;
# op ModRM SIB displacement immediate