filetypes.asm 1.93 KB
Newer Older
1
# For complete documentation of this file, please see Geany's main documentation
2
[styling]
3 4 5 6
# foreground;background;bold;italic
default=0x000000;0xffffff;false;false
comment=0x808080;0xffffff;false;false
number=0x007f00;0xffffff;false;false
7
string=0xff901e;0xffffff;false;false
8
operator=0x000000;0xffffff;false;false
9 10 11
identifier=0x880000;0xffffff;false;false
cpuinstruction=0x111199;0xffffff;true;false
mathinstruction=0x7f0000;0xffffff;true;false
12
register=0x000000;0xffffff;true;false
13 14
directive=0x3d670f;0xffffff;true;false
directiveoperand=0xff901e;0xffffff;false;false
15
commentblock=0x808080;0xffffff;false;false
16
character=0xff901e;0xffffff;false;false
17
stringeol=0x000000;0xe0c0e0;false;false
18
extinstruction=0x007f7f;0xffffff;false;false
19 20 21

[keywords]
# all items must be in one line
22
# this is by default a very simple instruction set; not of Intel or so
23 24 25
instructions=hlt lad spi add sub mul div jmp jez jgz jlz swap jsr ret pushac popac addst subst mulst divst lsa lds push pop cli ldi ink lia dek ldx
registers=
directives=org list nolist page equivalent word text
26 27 28 29


[settings]
# the following characters are these which a "word" can contains, see documentation
30
#wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
31 32 33 34 35

# if only single comment char is supported like # in this file, leave comment_close blank
comment_open=;
comment_close=

36
# set to false if a comment character/string should start at column 0 of a line, true uses any
37
# indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
38 39 40 41 42 43
	#command_example();
# setting to false would generate this
#	command_example();
# This setting works only for single line comments
comment_use_indent=true

44 45 46
# context action command (please see Geany's main documentation for details)
context_action_cmd=

47 48 49 50
[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)
51
compiler=nasm "%f"
52