Simplified x86 encoder
This commit is contained in:
parent
792d0eb74d
commit
377b66663f
10 changed files with 39 additions and 76 deletions
|
@ -4,5 +4,5 @@ import "git.urbach.dev/cli/q/src/cpu"
|
|||
|
||||
// LoadDynamicRegister loads from memory with a register offset into a register.
|
||||
func LoadDynamicRegister(code []byte, destination cpu.Register, base cpu.Register, offset cpu.Register, length byte) []byte {
|
||||
return memoryAccessDynamic(code, 0x8A, 0x8B, base, offset, length, destination)
|
||||
return memoryAccessDynamic(code, 0x8A, 0x8B, destination, base, offset, length)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue