about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2017-10-12 21:39:29 -0700
committerKartik K. Agaram <vc@akkartik.com>2017-10-12 21:39:29 -0700
commit8c0f0989b0ab4243a34ef716cbc68bde5465194b (patch)
tree66d1e5cd3687ee65b2e3a6568ad08ed56ca65df6
parentbdcb8015d4bd32eaa6f3e21554afcae426b571a5 (diff)
downloadmu-8c0f0989b0ab4243a34ef716cbc68bde5465194b.tar.gz
4041
-rw-r--r--subx/011add.cc4
1 files changed, 4 insertions, 0 deletions
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