package asm import ( "fmt" "git.akyoto.dev/cli/q/src/build/cpu" ) // RegisterNumber operates with a register and a number. type RegisterNumber struct { Register cpu.Register Number uint64 } // String returns a human readable version. func (data *RegisterNumber) String() string { return fmt.Sprintf("%s, %x", data.Register, data.Number) }