Implemented bitwise AND on arm64
This commit is contained in:
parent
8fcc57cee6
commit
c5cc88c2b0
6 changed files with 119 additions and 5 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue