about summary refs log tree commit diff stats
path: root/subx/010core.cc
diff options
context:
space:
mode:
Diffstat (limited to 'subx/010core.cc')
-rw-r--r--subx/010core.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/subx/010core.cc b/subx/010core.cc
index d35472da..44419696 100644
--- a/subx/010core.cc
+++ b/subx/010core.cc
@@ -20,10 +20,10 @@ union reg {
 };
 :(before "End Globals")
 reg Reg[NUM_INT_REGISTERS] = { {0} };
-uint32_t EIP = 0;
+uint32_t EIP = 1;  // preserve null pointer
 :(before "End Reset")
 bzero(Reg, sizeof(Reg));
-EIP = 0;
+EIP = 1;  // preserve null pointer
 
 //:: simulated flag registers; just a subset that we care about