Improved x64 encoder
This commit is contained in:
@ -1,5 +1,12 @@
|
||||
package x64
|
||||
|
||||
const (
|
||||
AddressMemory = byte(0b00)
|
||||
AddressMemoryOffset8 = byte(0b01)
|
||||
AddressMemoryOffset32 = byte(0b10)
|
||||
AddressDirect = byte(0b11)
|
||||
)
|
||||
|
||||
// ModRM is used to generate a ModRM suffix.
|
||||
// - mod: 2 bits
|
||||
// - reg: 3 bits
|
||||
|
Reference in New Issue
Block a user