enum CPU::TokenType

Overview

The types of tokens, used when parsing

Defined in:

cr6502/parser/token.cr

Enum Members

LeftParen = 0
RightParen = 1
Percent = 2
Hash = 3
Dollar = 4
Comma = 5
A = 6
X = 7
Y = 8
Integer = 9
Identifier = 10
ADC = 11
AND = 12
ASL = 13
BCC = 14
BCS = 15
BEQ = 16
BIT = 17
BMI = 18
BNE = 19
BPL = 20
BRK = 21
BVC = 22
BVS = 23
CLC = 24
CLD = 25
CLI = 26
CLV = 27
CMP = 28
CPX = 29
CPY = 30
DEC = 31
DEX = 32
DEY = 33
EOR = 34
INC = 35
INX = 36
INY = 37
JMP = 38
JSR = 39
LDA = 40
LDX = 41
LDY = 42
LSR = 43
NOP = 44
ORA = 45
PHA = 46
PHP = 47
PLA = 48
PLP = 49
ROL = 50
ROR = 51
RTI = 52
RTS = 53
SBC = 54
SEC = 55
SED = 56
SEI = 57
STA = 58
STX = 59
STY = 60
TAX = 61
TAY = 62
TSX = 63
TXA = 64
TXS = 65
TYA = 66
PRT = 67

Custom

LOG = 68
STP = 69
Label = 70
EOF = 71

Instance Method Summary

Instance Method Detail

def a? #

[View source]
def adc? #

[View source]
def and? #

[View source]
def asl? #

[View source]
def bcc? #

[View source]
def bcs? #

[View source]
def beq? #

[View source]
def bit? #

[View source]
def bmi? #

[View source]
def bne? #

[View source]
def bpl? #

[View source]
def brk? #

[View source]
def bvc? #

[View source]
def bvs? #

[View source]
def clc? #

[View source]
def cld? #

[View source]
def cli? #

[View source]
def clv? #

[View source]
def cmp? #

[View source]
def comma? #

[View source]
def cpx? #

[View source]
def cpy? #

[View source]
def dec? #

[View source]
def dex? #

[View source]
def dey? #

[View source]
def dollar? #

[View source]
def eof? #

[View source]
def eor? #

[View source]
def hash? #

[View source]
def identifier? #

[View source]
def inc? #

[View source]
def integer? #

[View source]
def inx? #

[View source]
def iny? #

[View source]
def jmp? #

[View source]
def jsr? #

[View source]
def label? #

[View source]
def lda? #

[View source]
def ldx? #

[View source]
def ldy? #

[View source]
def left_paren? #

[View source]
def log? #

[View source]
def lsr? #

[View source]
def nop? #

[View source]
def ora? #

[View source]
def percent? #

[View source]
def pha? #

[View source]
def php? #

[View source]
def pla? #

[View source]
def plp? #

[View source]
def prt? #

[View source]
def right_paren? #

[View source]
def rol? #

[View source]
def ror? #

[View source]
def rti? #

[View source]
def rts? #

[View source]
def sbc? #

[View source]
def sec? #

[View source]
def sed? #

[View source]
def sei? #

[View source]
def sta? #

[View source]
def stp? #

[View source]
def stx? #

[View source]
def sty? #

[View source]
def tax? #

[View source]
def tay? #

[View source]
def tsx? #

[View source]
def txa? #

[View source]
def txs? #

[View source]
def tya? #

[View source]
def x? #

[View source]
def y? #

[View source]