diff --git a/src/fox32.pest b/src/fox32.pest index 41b920f..f8874b7 100644 --- a/src/fox32.pest +++ b/src/fox32.pest @@ -111,7 +111,6 @@ instruction_two = @{ "add" | "sub" | "mul" | - "pow" | "div" | "rem" | "and" | diff --git a/src/main.rs b/src/main.rs index 85dca82..88ff171 100644 --- a/src/main.rs +++ b/src/main.rs @@ -189,7 +189,6 @@ enum InstructionTwo { Add, Sub, Mul, - Pow, Div, Rem, And, @@ -922,7 +921,6 @@ fn parse_instruction_two(pair: pest::iterators::Pair, mut lhs: AstNode, mu "add" => InstructionTwo::Add, "sub" => InstructionTwo::Sub, "mul" => InstructionTwo::Mul, - "pow" => InstructionTwo::Pow, "div" => InstructionTwo::Div, "rem" => InstructionTwo::Rem, "and" => InstructionTwo::And, @@ -1053,7 +1051,6 @@ fn instruction_to_byte(node: &AstNode) -> u8 { InstructionTwo::Add => 0x01 | size_to_byte(size), InstructionTwo::Sub => 0x21 | size_to_byte(size), InstructionTwo::Mul => 0x02 | size_to_byte(size), - InstructionTwo::Pow => 0x12 | size_to_byte(size), InstructionTwo::Div => 0x22 | size_to_byte(size), InstructionTwo::Rem => 0x32 | size_to_byte(size), InstructionTwo::And => 0x03 | size_to_byte(size),