Implemented division
This commit is contained in:
@ -130,6 +130,10 @@ func (f *Function) CompileInstruction(line token.List) error {
|
||||
case "*=":
|
||||
f.Assembler.RegisterNumber(asm.MUL, register, number)
|
||||
return nil
|
||||
|
||||
case "/=":
|
||||
f.Assembler.RegisterNumber(asm.DIV, register, number)
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user