Added label type
This commit is contained in:
parent
f4b0020c49
commit
14a867bc8b
32 changed files with 102 additions and 63 deletions
13
src/asm/LabelType.go
Normal file
13
src/asm/LabelType.go
Normal file
|
@ -0,0 +1,13 @@
|
|||
package asm
|
||||
|
||||
// LabelType shows what the label was used for.
|
||||
type LabelType uint8
|
||||
|
||||
const (
|
||||
UnknownLabel LabelType = iota
|
||||
CommentLabel
|
||||
ControlLabel
|
||||
DataLabel
|
||||
FunctionLabel
|
||||
ExternLabel
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue