use prism-tomorrow.css
This commit is contained in:
@ -0,0 +1,13 @@
|
||||
;
|
||||
; foo bar baz
|
||||
|
||||
-------------------------
|
||||
|
||||
[
|
||||
["comment", ";"],
|
||||
["comment", "; foo bar baz"]
|
||||
]
|
||||
|
||||
-------------------------
|
||||
|
||||
Check for comments
|
@ -0,0 +1,12 @@
|
||||
.segment CODE
|
||||
|
||||
-------------------------
|
||||
|
||||
[
|
||||
["directive", ".segment"],
|
||||
" CODE"
|
||||
]
|
||||
|
||||
-------------------------
|
||||
|
||||
Check for directives
|
@ -0,0 +1,18 @@
|
||||
LDA #127
|
||||
STA $8000
|
||||
LDX #%10001010
|
||||
|
||||
-------------------------
|
||||
|
||||
[
|
||||
["opcode", "LDA"],
|
||||
["decimalnumber", "#127"],
|
||||
["opcode", "STA"],
|
||||
["hexnumber", "$8000"],
|
||||
["opcode", "LDX"],
|
||||
["binarynumber", "#%10001010"]
|
||||
]
|
||||
|
||||
-------------------------
|
||||
|
||||
Check for numbers
|
@ -0,0 +1,17 @@
|
||||
LDA
|
||||
BNE
|
||||
inx
|
||||
clc
|
||||
|
||||
-------------------------------------
|
||||
|
||||
[
|
||||
["opcode", "LDA"],
|
||||
["opcode", "BNE"],
|
||||
["opcode", "inx"],
|
||||
["opcode", "clc"]
|
||||
]
|
||||
|
||||
-------------------------------------
|
||||
|
||||
Check for opcodes
|
@ -0,0 +1,17 @@
|
||||
LDA $8000,x
|
||||
ASL A
|
||||
|
||||
-------------------------
|
||||
|
||||
[
|
||||
["opcode", "LDA"],
|
||||
["hexnumber", "$8000"],
|
||||
",",
|
||||
["register", "x"],
|
||||
["opcode", "ASL"],
|
||||
["register", "A"]
|
||||
]
|
||||
|
||||
-------------------------
|
||||
|
||||
Check for registers
|
@ -0,0 +1,12 @@
|
||||
.include "header.asm"
|
||||
|
||||
-------------------------
|
||||
|
||||
[
|
||||
["directive", ".include"],
|
||||
["string", "\"header.asm\""]
|
||||
]
|
||||
|
||||
-------------------------
|
||||
|
||||
Check for strings
|
Reference in New Issue
Block a user