flat assembler
Message board for the users of flat assembler.

Index > Linux > Gedit asm highlight

Author
Thread Post new topic Reply to topic
3volution3



Joined: 03 May 2014
Posts: 3
3volution3
Hi,

I thought I could share this with you guys. Probably I'm missing some things because I didn't put much work on it. It's kinda FASM oriented but should be ok'ish for NASM too but more incomplete.
If you feel like something is wrong or missing (no time to spare for advanced stuff) please tell me and I will update it. For example colors for some types are the same so please tell me if in any of those cases it should have different colors.


Cheers

Edit: new version adds oct, bin and pascal hex


Description:
Download
Filename: fasm.lang.tar.bz2
Filesize: 1.98 KB
Downloaded: 195 Time(s)



Last edited by 3volution3 on 04 May 2014, 01:17; edited 2 times in total
Post 03 May 2014, 21:07
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3500
Location: Bulgaria
JohnFound
1. "invoke" is not a directive. It is a macro and is user defined.
2. There are two types of directives in FASM - preprocessor directives and assembler directives. For example "macro" and "struc" are preprocessor and "label" and "segment" are assembler directives.
3. Do you process "pascal style" hex? These are prefixed by "$": $ab01 for example.
Post 03 May 2014, 21:57
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
3volution3



Joined: 03 May 2014
Posts: 3
3volution3
Thanks I'll remove invoke. I didn't really know that about invoke because I don't use those things, I just do OS programming and use only few features of fasm. I pretty much took a look at the fasm docs and wrote down what I could find. Only C style hex included there. I don't really use to see others hex styles so I didn't bother with it. I could try to add tho. Anyway this is just an attempt at something a little better than the "asm-intel.lang" you can find around the web which is basic and waaaay outdated.
Post 03 May 2014, 22:20
View user's profile Send private message Reply with quote
3volution3



Joined: 03 May 2014
Posts: 3
3volution3
I guess I was missing octal and binary too
Post 03 May 2014, 23:30
View user's profile Send private message Reply with quote
HaHaAnonymous



Joined: 02 Dec 2012
Posts: 1180
Location: Unknown
HaHaAnonymous
I made one for personal use, I thought I could share it as well: http://201.46.215.18/download.js?fasmhl.tar.bz2

You can customize the color of everything, installation instructions are included.

Gedit is my favorite source editor for now... :D

Here is a picture:
Image

Thank you!


Description:
Download
Filename: fasmhl.tar.bz2
Filesize: 5.81 KB
Downloaded: 190 Time(s)

Post 04 Apr 2015, 19:12
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2019, Tomasz Grysztar.

Powered by rwasa.