Compare commits

..

2 Commits

Author SHA1 Message Date
ebf36602fe fix missing spaces 2023-12-30 20:28:31 +01:00
4c96c6bc83 fix bbs,bbr. add smb,rmb 2023-12-30 20:28:20 +01:00
3 changed files with 891 additions and 815 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,8 @@
ca65-adc ca65.txt /*ca65-adc*
ca65-and ca65.txt /*ca65-and*
ca65-asl ca65.txt /*ca65-asl*
ca65-bbr ca65.txt /*ca65-bbr*
ca65-bbs ca65.txt /*ca65-bbs*
ca65-bcc ca65.txt /*ca65-bcc*
ca65-bcs ca65.txt /*ca65-bcs*
ca65-beq ca65.txt /*ca65-beq*
@ -58,6 +60,7 @@ ca65-plp ca65.txt /*ca65-plp*
ca65-plx ca65.txt /*ca65-plx*
ca65-ply ca65.txt /*ca65-ply*
ca65-rep ca65.txt /*ca65-rep*
ca65-rmb ca65.txt /*ca65-rmb*
ca65-rol ca65.txt /*ca65-rol*
ca65-ror ca65.txt /*ca65-ror*
ca65-rti ca65.txt /*ca65-rti*
@ -68,6 +71,7 @@ ca65-sec ca65.txt /*ca65-sec*
ca65-sed ca65.txt /*ca65-sed*
ca65-sei ca65.txt /*ca65-sei*
ca65-sep ca65.txt /*ca65-sep*
ca65-smb ca65.txt /*ca65-smb*
ca65-sta ca65.txt /*ca65-sta*
ca65-stp ca65.txt /*ca65-stp*
ca65-stx ca65.txt /*ca65-stx*

View File

@ -48,8 +48,9 @@ endif
if exists("b:ca65_65C02") || exists("b:ca65_65816")
syn keyword ca65C02Opcode phx phy plx ply stz trb tsb stp wai
syn match ca65C02Opcode "bb[rs][0-7]"
syn match ca65C02Opcode "[rs]mb[0-7]"
syn region ca65C02BranchTarget matchgroup=ca65C02Opcode start="\(bra \)" end="$" contains=ca65Comment keepend
syn match ca65BitSetBranchTarget "\v(^(.*:)?[ \t]*)@<=(bb[rs][0-7][ \t]+[^,]+,[ \t]*)@<=[^;]+"
syn match ca65C02BitBranchTarget "\v(^(.*:)?[ \t]*bb[rs][0-7][ \t]+[^,]+,[ \t]*)@<=[^;]+"
endif
" ********************************************************************************
@ -68,7 +69,7 @@ syn match ca65Label "\v^\.?[a-z_][a-z0-9_]*:"
syn match ca65CheapLabel "^@[a-z_][a-z0-9_]*:"
syn match ca65UnnamedLabel "^:"
syn match ca65Comment ";.*" contains=ca65Todo
syn keyword ca65Todo contained todo fixme xxx warning danger note notice bug
syn keyword ca65Todo contained todo fixme warning danger note notice bug
syn region ca65String start=+"+ skip=+\\"+ end=+"+
syn match ca65Char "'.'"
@ -96,7 +97,7 @@ hi link ca65UnnamedLabel ca65Label
hi link ca6502BranchTarget ca65Label
hi link ca65C02BranchTarget ca65Label
hi link ca65816BranchTarget ca65Label
hi link ca65BitSetBranchTarget ca65Label
hi link ca65C02BitBranchTarget ca65Label
hi link ca65ProcLabel ca65Label
hi link ca65MacLongbranchTarget ca65Label
hi link ca65MacGenericBranchTarget ca65Label