Renamed x64 to x86

This commit is contained in:
2025-02-05 23:16:18 +01:00
parent 37afbde0da
commit d4f9071ee4
80 changed files with 1757 additions and 1757 deletions

8
src/x86/Load.go Normal file
View File

@ -0,0 +1,8 @@
package x86
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)
}