From 2a13be5fd73877cc73c0c50ccd3ab7fadb41a682 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Wed, 17 Jul 2019 19:11:26 -0700 Subject: 5413 Bugfix twelve: ModR/M was being incorrectly computed. This is one of two problems with subx/examples/ex3, so no new passing examples. --- subx/010---vm.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'subx/010---vm.cc') 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; -- cgit 1.4.1-2-gfad0