flat assembler
Message board for the users of flat assembler.
 Home   FAQ   Search   Register 
 Profile   Log in to check your private messages   Log in 
flat assembler > IDE Development > fasm-mode for Emacs

Author
Thread Post new topic Reply to topic
Fanael



Joined: 03 Jul 2009
Posts: 168
fasm-mode for Emacs
I've written a FASM major mode for Emacs. Currently it provides little more than FASM-specific syntax highlighting… which is already a big improvement over the built-in asm-mode.

It works in Emacs 23 and above.

It's available from MELPA, so if you've configured package.el to download from there, you only need M-x package-install RET fasm-mode RET.

Comments, especially suggestions, are very welcome.
Post 16 Sep 2013, 16:09
View user's profile Send private message Reply with quote
chrisdh



Joined: 02 Aug 2015
Posts: 1
Hi, I have just seen your plugin from MELPA and I hope that I can make it work.
I have one problem. When I indent my code I get something like this:


Code:

      start:
                sub     rsp,8           ; Make stack dqword aligned

                invoke  GetModuleHandle,0
                        mov     [wc.hInstance],rax
                                invoke  LoadIcon,0,IDI_APPLICATION
                                        mov     [wc.hIcon],rax
                                                invoke  LoadCursor,0,IDC_ARROW
                                                        mov     [wc.hCursor],rax

                invoke  RegisterClass,wc
                        invoke  CreateWindowEx,0,_class,_title,WS_VISIBLE+WS_OVERLAPPEDWINDOW+WS_CLIPCHILDREN+WS_CLIPSIBLINGS,16,16,432,432,NULL,NULL,[wc.hInstance],NULL

      msg_loop:
                invoke  GetMessage,addr msg,NULL,0,0
                        cmp     eax,1
                                jb      end_loop
                                        jne     msg_loop
                                                invoke  TranslateMessage,addr msg
                                                        invoke  DispatchMessage,addr msg

Post 06 Aug 2015, 22:20
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


Powered by phpBB © 2001-2005 phpBB Group.

Main index   Download   Documentation   Examples   Message board
Copyright © 2004-2016, Tomasz Grysztar.