Implemented bitwise AND on arm64
This commit is contained in:
@ -14,7 +14,7 @@ func SubRegisterRegister(destination cpu.Register, source cpu.Register, operand
|
||||
|
||||
// subRegisterNumber subtracts the register and optionally updates the condition flags based on the result.
|
||||
func subRegisterNumber(destination cpu.Register, source cpu.Register, number int, flags uint32) uint32 {
|
||||
return flags<<29 | 0b110100010<<23 | reg2imm(destination, source, number)
|
||||
return flags<<29 | 0b110100010<<23 | reg2Imm(destination, source, number)
|
||||
}
|
||||
|
||||
// subRegisterRegister subtracts the registers and optionally updates the condition flags based on the result.
|
||||
|
Reference in New Issue
Block a user