From b2870bf2b074701f5f4fd756de4c73d3735c7b93 Mon Sep 17 00:00:00 2001 From: Able Date: Sat, 6 May 2023 07:50:29 -0500 Subject: [PATCH] update environ call --- src/engine/mod.rs | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/engine/mod.rs b/src/engine/mod.rs index 99c85b1a..3a6b3f3d 100644 --- a/src/engine/mod.rs +++ b/src/engine/mod.rs @@ -347,20 +347,6 @@ F5-F9 {:016X} {:016X} {:016X} {:016X} {:016X}", } } - (10, int) => { - trace!("Enviroment Call {}", int); - let ret = self.enviroment_call_table[int as usize](self); - match ret { - Ok(eng) => { - trace!("Resuming execution at {}", eng.index); - } - Err(err) => { - return Err(HostError(err)); - } - } - self.index += 2; - } - (100, _) => { if self.call_stack.len() > self.config.call_stack_depth { trace!("Callstack {}", self.call_stack.len()); @@ -391,6 +377,20 @@ F5-F9 {:016X} {:016X} {:016X} {:016X} {:016X}", } } + (255, int) => { + trace!("Enviroment Call {}", int); + let ret = self.enviroment_call_table[int as usize](self); + match ret { + Ok(eng) => { + trace!("Resuming execution at {}", eng.index); + } + Err(err) => { + return Err(HostError(err)); + } + } + self.index += 2; + } + _op_pair => { // println!("OP Pair {}", op_pair.0); self.index += 1;