package asm
import "cmd/asm/internal/asm"
Package asm implements the parser and instruction generator for the assembler. TODO: Split apart?
Index ¶
- Variables
- type Parser
- func NewParser(ctxt *obj.Link, ar *arch.Arch, lexer lex.TokenReader, compilingRuntime bool) *Parser
- func (p *Parser) Parse() (*obj.Prog, bool)
- func (p *Parser) ParseSymABIs(w io.Writer) bool
- type Patch
Variables ¶
EOF represents the end of input.
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func NewParser ¶
func (*Parser) Parse ¶
func (*Parser) ParseSymABIs ¶
ParseSymABIs parses p's assembly code to find text symbol definitions and references and writes a symabis file to w.
type Patch ¶
type Patch struct {
// contains filtered or unexported fields
}
Source Files ¶
- Version
- v1.16.5
- Published
- Jun 3, 2021
- Platform
- linux/amd64
- Imports
- 16 packages
- Last checked
- 22 seconds ago –
Tools for package owners.