Implemented array storage
This commit is contained in:
parent
5dee0777e7
commit
52e87a8885
17 changed files with 150 additions and 45 deletions
|
@ -3,6 +3,6 @@ package x64
|
|||
import "git.akyoto.dev/cli/q/src/build/cpu"
|
||||
|
||||
// LoadRegister loads from memory into a register.
|
||||
func LoadRegister(code []byte, destination cpu.Register, offset byte, numBytes byte, source cpu.Register) []byte {
|
||||
return memoryAccess(code, 0x8A, 0x8B, source, offset, numBytes, destination)
|
||||
func LoadRegister(code []byte, destination cpu.Register, offset byte, length byte, source cpu.Register) []byte {
|
||||
return memoryAccess(code, 0x8A, 0x8B, source, offset, length, destination)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue