package x64 import "git.akyoto.dev/cli/q/src/build/cpu" // NegateRegister negates the value in the register. func NegateRegister(code []byte, register cpu.Register) []byte { return encode(code, AddressDirect, 0b011, register, 8, 0xF7) }