Implemented more arm64 instructions

This commit is contained in:
Eduard Urbach 2025-03-06 23:13:14 +01:00
parent 1832d2c73b
commit 014f161633
Signed by: eduard
GPG key ID: 49226B848C78F6C8
26 changed files with 232 additions and 73 deletions

View file

@ -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)
}