Add unimplemented yield instruction

This commit is contained in:
Andrew Morris
2023-05-31 14:20:45 +10:00
parent 0eda3716ae
commit 12bfe5bf7f
7 changed files with 21 additions and 2 deletions

View File

@@ -55,6 +55,7 @@ pub enum InstructionByte {
Next = 0x34,
UnpackIterRes = 0x35,
Cat = 0x36,
Yield = 0x37,
}
impl InstructionByte {
@@ -117,6 +118,7 @@ impl InstructionByte {
0x34 => Next,
0x35 => UnpackIterRes,
0x36 => Cat,
0x37 => Yield,
_ => panic!("Unrecognized instruction: {}", byte),
};