Added more tests
This commit is contained in:
@ -117,7 +117,7 @@ func (c *compiler) compileARM(x asm.Instruction) {
|
||||
switch x.Type {
|
||||
case asm.TypeRegisterNumber:
|
||||
operand := c.assembler.Param.RegisterNumber[x.Index]
|
||||
c.append(arm.SubRegisterNumber(0b11111, operand.Register, operand.Number))
|
||||
c.append(arm.CompareRegisterNumber(operand.Register, operand.Number))
|
||||
case asm.TypeRegisterRegister:
|
||||
panic("not implemented")
|
||||
}
|
||||
|
Reference in New Issue
Block a user