about summary refs log tree commit diff stats
path: root/subx/013direct_addressing.cc
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-01-08 15:39:53 -0800
committerKartik Agaram <vc@akkartik.com>2019-01-08 15:46:55 -0800
commitf7f0d6318231ff081ed6ff2ef30d8e1823e11c70 (patch)
treeb85f03addb53d757bf3eac59e7c9cc93648d1709 /subx/013direct_addressing.cc
parent96a6bac52d6f4a67932e54d25166bf7961718e9d (diff)
downloadmu-f7f0d6318231ff081ed6ff2ef30d8e1823e11c70.tar.gz
4915
In the process of building next-token I finally added some support for a
debugging situation I've found myself in a couple of times: wondering "what
changed this memory location"?
Diffstat (limited to 'subx/013direct_addressing.cc')
-rw-r--r--subx/013direct_addressing.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/subx/013direct_addressing.cc b/subx/013direct_addressing.cc
index 3dcd8333..b7146835 100644
--- a/subx/013direct_addressing.cc
+++ b/subx/013direct_addressing.cc
@@ -56,6 +56,7 @@ uint32_t effective_address_number(uint8_t modrm) {
     exit(1);
   }
   //: other mods are indirect, and they'll set addr appropriately
+  // Found effective_address(addr)
   return addr;
 }