Page 1 of 1
best platform to write assembly codes???
#1
Posted 14 February 2011 - 10:13 AM
I have started learning assembly codes for intel based computers ,want to know which among these is the best place to write assembly codes.M.A.S.M , N.A.S.M or GAS assembler from linux???????Please help me out!!
Edit: Moved topic from Tutorials to the more appropriate forum. ~ Animal
Edit: Moved topic from Tutorials to the more appropriate forum. ~ Animal
#3
Posted 07 January 2012 - 05:08 PM
It depends on your needs
.
If you think technology can solve your security problems, then you don't understand the problems and you don't understand the technology. — Bruce Schneier
#4
Posted 20 February 2012 - 02:25 AM
There is NO best.. Both products mentioned are very good. That's like what is the best html.editor.. many people will say notepad. for assembler one could always use a hex editor but getting the .exe header right might be a problem.
#5
Posted 23 February 2012 - 02:03 PM
What syntax is used in the material you are using to study assembly?
MASM and NASM use different syntaxes. It's easier to use the assembler with the syntax that is used in your tutorials.
MASM and NASM use different syntaxes. It's easier to use the assembler with the syntax that is used in your tutorials.
#6
Posted 23 February 2012 - 02:09 PM
DavidWJ, on 20 February 2012 - 02:25 AM, said:
for assembler one could always use a hex editor
Actually, you would use an hex editor for machine code, not for assembly code.
Assembly language uses mnemonics for instructions, like this one 'pop ebx'.
In machine code, the instructions and operands are bytes.
For example, the machine code for 'pop ebx' in x86 is one byte: 5B
An assembler like NASM translates assembly code into machine code.
A CPU executes machine code, not assembly code.
This post has been edited by Didier Stevens: 23 February 2012 - 02:09 PM
#7
Posted 23 February 2012 - 08:51 PM
As far as I know, MASM32 is only for Windows and not Linux. I have not used any other assemblers, so no idea about them.
#8
Posted 24 February 2012 - 05:09 AM
Romeo29, on 23 February 2012 - 08:51 PM, said:
As far as I know, MASM32 is only for Windows and not Linux. I have not used any other assemblers, so no idea about them.
Correct. Although it could be that Wine can be used to run MASM on Linux.
NASM runs on Linux, Windows, ...
A tip: Wikipedia has many pages comparing all kinds of products.
There's one for assemblers: https://en.wikipedia.org/wiki/Comparison_of_assemblers
Share this topic:
Page 1 of 1

Help

Back to top











