From 8c0f0989b0ab4243a34ef716cbc68bde5465194b Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Thu, 12 Oct 2017 21:39:29 -0700 Subject: 4041 --- subx/011add.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'subx') diff --git a/subx/011add.cc b/subx/011add.cc index 03e25c07..8c52963f 100644 --- a/subx/011add.cc +++ b/subx/011add.cc @@ -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 -- cgit 1.4.1-2-gfad0