NASM - The Netwide Assembler
NASM Forum => Using NASM => Topic started by: xXGh0stXx on September 13, 2014, 07:15:56 PM
-
Notepad++ is a pretty decent text editor which allows users to run arbitrary compilation codes right into its built-in command line.
To do so, first download NPPExec plugin in the Notepad++ program.
Then, go to Plugins->NppExec->Execute
Creating a new script, paste the following to the dialog box
npp_save
cd "$(CURRENT_DIRECTORY)"
C:\NASM\nasm.exe -f elf32 $(FILE_NAME)
ld -m i386pe -s -o $(NAME_PART).exe $(NAME_PART).o
$(NAME_PART).exe
**Please note that you need to replace your NASM installation path (in my case it was C:\NASM)**
Then save it as a script
Additionally, you can map a shortcut to it by going to Plugins->NPPExec->Advanced Options
Select the Associated Script (Under Menu Item) and click Add/Modify
After this go to Settings->Shortcut Mapper->Plugin Commands
Then scroll to your NASM script and add a shortcut
Thats it 8)
-
Superb, thanks for sharing this information. :)
-
With the right setup it can become a very pleasant editor to use. I recommend the fresh programming font, it is a mutation of the FixedSys font and is designed for assembly programming. It's ugly, but it's also useful.