class Rouge::Lexers::KickAssembler
Find the reference for the KickAssembler syntax at www.theweb.dk/KickAssembler/KickAssembler.pdf
Public Class Methods
Source
# File lib/rouge/lexers/kick_assembler.rb, line 16 def self.mnemonics @mnemonics ||= Set.new %w( lda ldx ldy sta stx sty tax tay txa tya tsx txs pha php pla plp and eor ora bit adc sbc cmp cpx cpy inc inx iny dec dex dey asl lsr rol ror jmp jsr rts rti bcc bcs beq bmi bne bpl bvc bvs clc cld cli clv sec sed sei brk nop phx plx phy ply stz trb tsb bra neg asr dea ina ahx alr anc anc2 arr axs dcp isc las lax rla rra sax shx shy slo sre tas xaa ) end
Source
# File lib/rouge/lexers/kick_assembler.rb, line 40 def self.preprocessor_directives @preprocessor_directives ||= Set.new %w( define undef import importonce importif if endif else elif print printnow error asserterror ) end
Source
# File lib/rouge/lexers/kick_assembler.rb, line 29 def self.type_directives @type_directives ||= Set.new %w( .align .assert .asserterror .break .by .byte .cpu .disk .dword .dw .encoding .enum .error .errorif .eval .file .fill .fillword .for .function .import .importonce .label .lohifill .macro .memblock .modify .namespace .pc .print .printnow .pseudocommand .pseudopc .return .segment .segmentdef .struct .text .var .word .while .zp ) end