Am Dienstag, 24. Januar 2017 17:54:04 UTC+1 schrieb Justin Pearson: > > TJF, would you post your pasm highlighter for Geany? >
Here you are: # For complete documentation of this file, please see Geany's main documentation [styling] # foreground;background;bold;italic default=0x900000;0xffffff;false;false comment=0x808080;0xffffff;false;false number=0x007f00;0xffffff;false;false string=0xff901e;0xffffff;false;false operator=0x000000;0xffffff;false;false identifier=0x880000;0xffffff;false;false cpuinstruction=0x111199;0xffffff;false;false mathinstruction=0x7f0000;0xffffff;false;false register=0x000000;0xffffff;false;false directive=0x3d670f;0xffffff;false;false directiveoperand=0xff901e;0xffffff;false;false commentblock=0x808080;0xffffff;false;false character=0xff901e;0xffffff;false;false stringeol=0x000000;0xe0c0e0;false;false extinstruction=0x007f7f;0xffffff;false;false [keywords] # all items must be in one line instructions=add adc sub suc rsb rsc lsl lsr and or xor not min max clr set scan lmbd mov ldi mvi lbbo sbbo lbco sbco lfc stc zero jmp jal call ret qbgt qbge qblt qble qbeq qbne qba qbbs qbbc wbs wbc halt slp loop fill registers=c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 c16 c17 c18 c19 c20 c21 c22 c23 c24 c25 c26 c27 c28 c29 c30 c31 r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 directives=.origin .entrypoint .setcallreg .struct .ends .u32 .u16 .u8 .assign .enter .leave .using .macro .mparam .endm Extended instructions=#define #else #endif #if #ifdef #ifndef #include #elseif #error #note #warn [settings] # default extension used when saving files extension=p # single comments, like # in this file comment_single=// # This setting works only for single line comments comment_use_indent=true lexer_filetype=ASM # context action command (please see Geany's main documentation for details) context_action_cmd= [indentation] width=2 # 0 is spaces, 1 is tabs, 2 is tab & spaces type=0 [build_settings] # %f will be replaced by the complete filename # %e will be replaced by the filename without extension # (use only one of it at one time) compiler=pasm_2 -b -y "%f" File lives in geany/filedefs/filetypes.pasm.conf. Regards -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/30ada836-4ba3-4e62-9174-ab489e592698%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
