Implemented more arm64 instructions
This commit is contained in:
parent
1832d2c73b
commit
014f161633
26 changed files with 232 additions and 73 deletions
|
@ -54,7 +54,7 @@ func MoveRegisterNumber32(code []byte, destination cpu.Register, number int) []b
|
|||
return binary.LittleEndian.AppendUint32(code, uint32(number))
|
||||
}
|
||||
|
||||
// MoveRegisterRegister moves a register value into another register.
|
||||
// MoveRegisterRegister copies a register to another register.
|
||||
func MoveRegisterRegister(code []byte, destination cpu.Register, source cpu.Register) []byte {
|
||||
return encode(code, AddressDirect, source, destination, 8, 0x89)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue