about summary refs log tree commit diff stats
path: root/subx/011direct_addressing.cc
diff options
context:
space:
mode:
Diffstat (limited to 'subx/011direct_addressing.cc')
-rw-r--r--subx/011direct_addressing.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/subx/011direct_addressing.cc b/subx/011direct_addressing.cc
index 1e0375f6..cf61fb82 100644
--- a/subx/011direct_addressing.cc
+++ b/subx/011direct_addressing.cc
@@ -40,8 +40,6 @@ int32_t* effective_address(uint8_t modrm) {
     exit(1);
   }
   //: other mods are indirect, and they'll set addr appropriately
-  assert(addr > 0);
-  assert(addr + sizeof(int32_t) <= Mem.size());
   return mem_addr_i32(addr);
 }