Added x86 package
All checks were successful
/ test (push) Successful in 14s

This commit is contained in:
Eduard Urbach 2025-06-23 11:45:57 +02:00
parent 31c5ed614c
commit bac5986425
Signed by: akyoto
GPG key ID: 49226B848C78F6C8
61 changed files with 2745 additions and 0 deletions

22
src/x86/Registers.go Normal file
View file

@ -0,0 +1,22 @@
package x86
import "git.urbach.dev/cli/q/src/cpu"
const (
R0 cpu.Register = iota // RAX
R1 // RCX
R2 // RDX
R3 // RBX
SP // Stack pointer
R5 // RBP
R6 // RSI
R7 // RDI
R8
R9
R10
R11
R12
R13
R14
R15
)