go/src/cmd/vendor/golang.org/x/arch/x86/x86asm/plan9x.go

type SymLookup

// GoSyntax returns the Go assembler syntax for the instruction.
// The syntax was originally defined by Plan 9.
// The pc is the program counter of the instruction, used for expanding
// PC-relative addresses into absolute ones.
// The symname function queries the symbol table for the program
// being disassembled. Given a target address it returns the name and base
// address of the symbol containing the target, if any; otherwise it returns "", 0.
func GoSyntax(inst Inst, pc uint64, symname SymLookup) string {}

func plan9Arg(inst *Inst, pc uint64, symname func(uint64) (string, uint64), arg Arg) string {}

func memArgToSymbol(a Mem, pc uint64, instrLen int, symname SymLookup) (string, int64) {}

var plan9Suffix

var plan9Reg