Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: taurelx on September 29, 2011, 12:06:08 pm

Title: where can I find AT&T Assembly in Syntax highlighting
Post by: taurelx on September 29, 2011, 12:06:08 pm
where can I find AT&T Assembly in Syntax highlighting ?is it exist?
Title: Re: where can I find AT&T Assembly in Syntax highlighting
Post by: Alpha on September 29, 2011, 11:31:46 pm
I do not believe a lexer is currently included for that language (see Languages supported by Code::Blocks lexers (http://wiki.codeblocks.org/index.php?title=Languages_supported_by_Code::Blocks_lexers)).  You could test if any of the other assembly languages Code::Blocks does support have close enough syntax to work.  If you have time, you could also create a new lexer (http://wiki.codeblocks.org/index.php?title=Creating_a_custom_lexer_for_Code::Blocks_editor) to support AT&T Assembly.

Edit: I did a bit of reading, and it appears MASM Assembly *might* be what you are looking for (note that I am inexperienced with assembly, so I could be completely am wrong).
Title: Re: where can I find AT&T Assembly in Syntax highlighting
Post by: oBFusCATed on October 04, 2011, 04:06:50 pm
Alpha: Here is a description of the difference between the two kinds of assembler: http://asm.sourceforge.net/articles/linasm.html#Syntax
MSASM should be in intel's syntax.

taurelx: Does Scite support AT&T assembler?
Title: Re: where can I find AT&T Assembly in Syntax highlighting
Post by: Alpha on October 05, 2011, 12:03:43 am
Alpha: Here is a description of the difference between the two kinds of assembler: http://asm.sourceforge.net/articles/linasm.html#Syntax
Thanks, it was informative.

(By the way, from what I can tell, SciTE only supports one type of assembly, MASM/NASM -> Intel syntax.)