/usr/share/codeblocks/lexers/lexer_hitasm.xml is in codeblocks-common 10.05-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | <?xml version="1.0"?>
<!DOCTYPE CodeBlocks_lexer_properties>
<CodeBlocks_lexer_properties>
<Lexer name="Hitachi asm"
index="3"
filemasks="*.s20">
<Style name="Default"
index="0"
fg="0,0,0"
bg="255,255,255"
bold="0"
italics="0"
underlined="0"/>
<Style name="Comment"
index="1,2,3,15,17,18"
fg="160,160,160"/>
<Style name="Number"
index="4"
fg="240,0,240"/>
<Style name="Keyword"
index="5,16"
fg="0,0,160"
bold="1"/>
<Style name="String"
index="6,12"
fg="0,0,255"/>
<Style name="Character"
index="7"
fg="224,160,0"/>
<Style name="UUID"
index="8"
fg="0,0,0"/>
<Style name="Preprocessor"
index="9"
fg="0,160,0"/>
<Style name="Operator"
index="10"
fg="255,0,0"/>
<Style name="Selection"
index="-99"
bg="192,192,192"/>
<Style name="Active line"
index="-98"
bg="255,255,160"/>
<Style name="Compiler error line"
index="-4"
bg="255,128,0"/>
<Style name="Matching brace highlight"
index="34"
fg="255,0,0"
bold="1"
underlined="1"/>
<Style name="No matching brace highlight"
index="35"
bg="255,0,0"/>
<Keywords>
<Language index="0"
value="ADD ADDS ADDX AND ANDC
BAND BCLR BIAND BILD BIOR BIST BIXOR BLD BNOT BOR BSET BSR BST BTST BXOR
BRA BT BF BHI BLS BCC BHS BCS BLO BNE BEQ BVC BVS BPL BMI BGE BLT BGT BLE
CMP
DAA DAS DEC DIVXS DIVXU DS DC
EEPMOV EXTS EXTU
INC
JMP JSR
LDC
MOV MOVFPE MULXS MULXU
NEG NOP NOT
OR ORC
POP PUSH
ROTL ROTR ROTXL ROTXR RTE RTS
SHAL SHAR SHLL SHLR SLEEP STC SUB SUBS SUBX
TRAPA
XOR XORC
END PUBLIC EXTERN CASEON RSEG
"/>
</Keywords>
<SampleCode value="lexer_hitasm.sample"
error_line="50"/>
<LanguageAttributes
LineComment="//"
StreamCommentStart="/*"
StreamCommentEnd="*/"
BoxCommentStart="/* "
BoxCommentMid=" * "
BoxCommentEnd=" */"
CaseSensitive="1"/>
</Lexer>
</CodeBlocks_lexer_properties>
|