Hi,
I want to recognize an assembler sourcecode (as text) in my texteditor.
Wich words are always in an assember source, very sure?
Greetings,
(S)
I want to recognize an assembler sourcecode (as text) in my texteditor.
Wich words are always in an assember source, very sure?
Greetings,
(S)
None, but if I had to bet, then it'd be RET.
"Include" files don't need to have anything in them. One file may have only macros, another file may have only prototypes and EQUs.
Perhaps a better question is: I know I have an assembler file -- what words are special?
Perhaps a better question is: I know I have an assembler file -- what words are special?
Hi,
;-)
I'need it for syntax highlightning for some multiple program-languages...
Greetings,
(S)
;-)
I'need it for syntax highlightning for some multiple program-languages...
Greetings,
(S)
Iirc Iczelion's IczEdit has an .ini file with all (or most) of the asm keywords.
.code .data
.?86*
(where ? is 3, 4, 5, 6 etc)
It would be the first instruction (except for a comment)
(where ? is 3, 4, 5, 6 etc)
It would be the first instruction (except for a comment)
He didn't specify which assembler is in use (if any) ;)
For example, none of the proposed .code / .data / .?86* would work for FAsm sources.
So RET may be his best chance.. hardly an asm source doesn't have any RET.
One may wish to add ExitProcess, INT and MOV to the list of searched words.
For example, none of the proposed .code / .data / .?86* would work for FAsm sources.
So RET may be his best chance.. hardly an asm source doesn't have any RET.
One may wish to add ExitProcess, INT and MOV to the list of searched words.
Or look for ".asm" file extension :grin:
Hi,
Maverick: An editor should handle any assemblerssources...
basik: What about file extension in a new created text... .?86 is good !
Axial: .code and .data are good, too !
Thanks to all !
Greetings,
(S)
Maverick: An editor should handle any assemblerssources...
basik: What about file extension in a new created text... .?86 is good !
Axial: .code and .data are good, too !
Thanks to all !
Greetings,
(S)