package asm
import "cmd/internal/asm"
Package asm holds code shared among the assemblers.
Index ¶
- Constants
- Variables
- func GETC() int
- func ISALPHA(c int) bool
- func Main()
- func Settext(s *obj.LSym)
- func Yyerror(a string, args ...interface{})
- func Yylex(yylval *Yylval) int
- type Io
- type Lextab
- type Macro
- type Ref
- type Sym
- type Yylval
Constants ¶
const ( MAXALIGN = 7 FPCHIP = 1 NSYMB = 500 BUFSIZ = 8192 HISTSZ = 20 EOF = -1 IGN = -2 NHASH = 503 NMACRO = 10 )
const ( CLAST = iota CMACARG CMACRO CPREPROC )
const (
NARG = 25
)
const (
VARMAC = 0x80
)
Variables ¶
var ( LSCONST int LCONST int LFCONST int LNAME int LVAR int LLAB int Thechar rune Thestring string Thelinkarch *obj.LinkArch Arches map[string]*obj.LinkArch Cclean func() Yyparse func() Syminit func(*Sym) Lexinit []Lextab )
Initialized by client.
Functions ¶
func GETC ¶
func GETC() int
func ISALPHA ¶
func Main ¶
func Main()
func Settext ¶
func Yyerror ¶
func Yyerror(a string, args ...interface{})
func Yylex ¶
Types ¶
type Io ¶
type Lextab ¶
type Macro ¶
type Ref ¶
type Ref struct { Class int }
type Sym ¶
type Sym struct { Link *Sym Ref *Ref Macro *Macro Value int64 Type int Name string Labelname string Sym int8 }
func LabelLookup ¶
func Lookup ¶
type Yylval ¶
Source Files ¶
- Version
- v1.5.0-beta.1
- Published
- Jul 8, 2015
- Platform
- linux/amd64
- Imports
- 10 packages
- Last checked
- 9 minutes ago –
Tools for package owners.