From f2889b002ab36e13ac5771cf33635ec35cfc3b34 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Thu, 9 Aug 2018 21:28:35 -0700 Subject: 4498 --- subx/010---vm.cc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/subx/010---vm.cc b/subx/010---vm.cc index c467255b..5bdd1dd1 100644 --- a/subx/010---vm.cc +++ b/subx/010---vm.cc @@ -165,6 +165,24 @@ void run_one_instruction() { exit(1); } break; + case 0xf2: + switch(op2 = next()) { + // End Two-Byte Opcodes Starting With f2 + case 0x0f: + switch(op3 = next()) { + // End Three-Byte Opcodes Starting With f2 0f + default: + cerr << "unrecognized third opcode after f2 0f: " << HEXBYTE << NUM(op3) << '\n'; + DUMP(""); + exit(1); + } + break; + default: + cerr << "unrecognized second opcode after f2: " << HEXBYTE << NUM(op2) << '\n'; + DUMP(""); + exit(1); + } + break; case 0xf3: switch(op2 = next()) { // End Two-Byte Opcodes Starting With f3 -- cgit 1.4.1-2-gfad0