fox32+fox32asm: Remove pow instruction

This commit is contained in:
Ry 2022-05-30 00:48:19 -07:00
parent 07a0026207
commit c23666161b
2 changed files with 0 additions and 4 deletions

View File

@ -111,7 +111,6 @@ instruction_two = @{
"add" |
"sub" |
"mul" |
"pow" |
"div" |
"rem" |
"and" |

View File

@ -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<Rule>, 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),