MCPcopy Create free account

hub / github.com/crawshaw/asm / functions

Functions29 in github.com/crawshaw/asm

↓ 46 callersMethodAddr
Addr makes an Addr representing a register.
i64/register.go:7
↓ 18 callersMethodInd
Ind makes an Addr representing a memory address pointed to by the given register.
i64/register.go:16
↓ 4 callersFunctionImm
Imm builds an Addr that represents immediate data. The value of v must be of type uint8, uint32, or uint64.
i64/addr.go:41
↓ 4 callersMethodvalueUint64
()
i64/addr.go:84
↓ 4 callersMethodwriteTo
(w io.Writer)
i64/i64.go:238
↓ 3 callersMethodBytes
Bytes returns the assembled bytes of a program.
i64/program.go:109
↓ 3 callersMethodmake
(p *Instruction)
i64/i64.go:49
↓ 2 callersFunctionRel
Rel builds an Addr that represents a relative address. The value of v must be of type int8 or int32.
i64/addr.go:55
↓ 2 callersMethodString
()
i64/addr.go:145
↓ 2 callersMethodString
()
i64/op.go:152
↓ 2 callersMethodlayOut
layOut translates Instruction into ins and resolves labels.
i64/program.go:13
↓ 2 callersMethodmakeImm
(r Addr)
i64/i64.go:221
↓ 2 callersMethodprintText
(w io.Writer)
i64/i64.go:279
↓ 2 callersMethodvalueInt64
()
i64/addr.go:68
↓ 2 callersFunctionwriteBytes
(w io.Writer, width int, v uint64)
i64/i64.go:292
↓ 1 callersMethodPrintText
PrintText writes a textual representation of the program to w.
i64/program.go:118
↓ 1 callersMethodWriteTo
WriteTo writes the assembled bytes of a program to w.
i64/program.go:93
↓ 1 callersMethodaddRegToOp
()
i64/i64.go:78
↓ 1 callersMethoddirectAddress
(r2 Addr)
i64/i64.go:204
↓ 1 callersMethodindirectAddress
(r2 Addr)
i64/i64.go:152
↓ 1 callersMethodmakeMod
(bits modBits)
i64/i64.go:99
FunctionCall
(fn, arg unsafe.Pointer, n uint32)
call/call.go:6
FunctionLabelAddr
LabelAddr builds an Addr that represents a label.
i64/addr.go:66
MethodString
String returns the name of the register.
i64/register.go:19
FunctionTestI64
(t *testing.T)
i64/i64_test.go:112
FunctionTestOpName
(t *testing.T)
i64/i64_test.go:136
FunctionTestProgram
(t *testing.T)
program/program_test.go:105
Functioninit
()
i64/optab.go:60
MethodprintText
(w io.Writer, codeblockEnd int)
i64/addr.go:100