about summary refs log tree commit diff stats
path: root/subx
diff options
context:
space:
mode:
Diffstat (limited to 'subx')
-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