about summary refs log tree commit diff stats
path: root/subx/010---vm.cc
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-07-17 19:11:26 -0700
committerKartik Agaram <vc@akkartik.com>2019-07-17 19:11:26 -0700
commit2a13be5fd73877cc73c0c50ccd3ab7fadb41a682 (patch)
tree681964e386abfa144a420e66834df9a48551cf28 /subx/010---vm.cc
parent22bb33eb477ab0942be717f8e5499fe339eafc65 (diff)
downloadmu-2a13be5fd73877cc73c0c50ccd3ab7fadb41a682.tar.gz
5413
Bugfix twelve: ModR/M was being incorrectly computed.

This is one of two problems with subx/examples/ex3, so no new passing
examples.
Diffstat (limited to 'subx/010---vm.cc')
-rw-r--r--subx/010---vm.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/subx/010---vm.cc b/subx/010---vm.cc
index b54dd9d5..82a7d2f5 100644
--- a/subx/010---vm.cc
+++ b/subx/010---vm.cc
@@ -203,7 +203,6 @@ inline uint8_t* mem_addr_u8(uint32_t addr) {
   if (result == NULL) {
     if (Trace_file) Trace_file.flush();
     raise << "Tried to access uninitialized memory at address 0x" << HEXWORD << addr << '\n' << end();
-    DUMP("");
     exit(1);
   }
   return result;
@@ -224,7 +223,6 @@ inline uint32_t* mem_addr_u32(uint32_t addr) {
     if (Trace_file) Trace_file.flush();
     raise << "Tried to access uninitialized memory at address 0x" << HEXWORD << addr << '\n' << end();
     raise << "The entire 4-byte word should be initialized and lie in a single segment.\n" << end();
-    DUMP("");
     exit(1);
   }
   return result;