From ced962dbf8ac4ad6616c1b3573f268a83a925c8b Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Tue, 10 Jul 2018 20:18:45 -0700 Subject: 4336 --- subx/010core.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'subx') 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 -- cgit 1.4.1-2-gfad0