-
Notifications
You must be signed in to change notification settings - Fork 0
/
highlights.scm
114 lines (99 loc) · 1.39 KB
/
highlights.scm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
; opc
[
(adc_opcode)
(and_opcode)
(asl_opcode)
(bcc_opcode)
(bcs_opcode)
(beq_opcode)
(bit_opcode)
(bmi_opcode)
(bne_opcode)
(bpl_opcode)
(brk_opcode)
(bvc_opcode)
(bvs_opcode)
(clc_opcode)
(cld_opcode)
(cli_opcode)
(clv_opcode)
(cmp_opcode)
(cpx_opcode)
(cpy_opcode)
(dec_opcode)
(dex_opcode)
(dey_opcode)
(eor_opcode)
(inc_opcode)
(inx_opcode)
(iny_opcode)
(jmp_opcode)
(jsr_opcode)
(lda_opcode)
(ldx_opcode)
(ldy_opcode)
(lsr_opcode)
(nop_opcode)
(ora_opcode)
(pha_opcode)
(php_opcode)
(pla_opcode)
(plp_opcode)
(rol_opcode)
(ror_opcode)
(rti_opcode)
(rts_opcode)
(sbc_opcode)
(sec_opcode)
(sed_opcode)
(sei_opcode)
(sta_opcode)
(stx_opcode)
(sty_opcode)
(tax_opcode)
(tay_opcode)
(tsx_opcode)
(txa_opcode)
(tcs_opcode)
(tya_opcode)
] @keyword
; numbers
[
(bin_8)
(dec_8)
(hex_8)
(bin_16)
(dec_16)
(hex_16)
] @number
(comment) @comment
; punctuation
[
"("
")"
] @punctuation.bracket
[
","
] @punctuation.delimiter
(imm_prefix) @character.special
(label) @label
(symbol) @variable
; registers
[
(acc_register)
(x_register)
(y_register)
] @constant.builtin
; control commands
[
(ctrl_cmd)
] @function.macro
[
(warning_keyword)
(error_keyword)
(ldwarning_keyword)
(lderror_keyword)
(constructor_keyword)
(destructor_keyword)
(interruptor_keyword)
] @keyword