Flattened package hierarchy

This commit is contained in:
Eduard Urbach 2024-08-25 20:38:22 +02:00
parent 12dcf672cb
commit a4dc5a4eff
Signed by: eduard
GPG key ID: 49226B848C78F6C8
89 changed files with 42 additions and 42 deletions

8
src/x64/Load.go Normal file
View file

@ -0,0 +1,8 @@
package x64
import "git.akyoto.dev/cli/q/src/cpu"
// LoadRegister loads from memory into a register.
func LoadRegister(code []byte, destination cpu.Register, offset byte, length byte, source cpu.Register) []byte {
return memoryAccess(code, 0x8A, 0x8B, source, offset, length, destination)
}