diff options
Diffstat (limited to 'subx/010core.cc')
-rw-r--r-- | subx/010core.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/010core.cc b/subx/010core.cc index a1d61ba8..eba8e00d 100644 --- a/subx/010core.cc +++ b/subx/010core.cc @@ -98,10 +98,10 @@ void run(const string& text_bytes) { void run_one_instruction() { uint8_t op=0, op2=0, op3=0; switch (op = next()) { - // our first opcode case 0xf4: // hlt EIP = End_of_program; break; + // our first opcode case 0x05: { // add imm32 to EAX int32_t arg2 = imm32(); trace(2, "run") << "add imm32 0x" << HEXWORD << arg2 << " to reg EAX" << end(); |