A forum for reverse engineering, OS internals and malware analysis 

Ask your beginner questions here.

ASM

 #6818  by utsav.0202
 Wed Jun 15, 2011 11:26 am
Hi
I have just started reading The Art of Assembly Language. I have problem in assembling my code.
I mean I don't know what all to install. Please provide the necessary links.
Thank you.
 #6820  by Xylitol
 Wed Jun 15, 2011 11:47 am
Hello, what's do you mean by having problem in code assembling, you don't have the linker and the stuff or it's code error related ?

MASM32 download: http://www.masm32.com/masmdl.htm
WinASM Studio IDE (need to be registered for download): http://www.winasm.net/winasm-studio-full-package.html
 #6821  by utsav.0202
 Wed Jun 15, 2011 12:07 pm
Nothing related to code.
I don't know what all stuff is required to assemble it.
 #6822  by nullptr
 Wed Jun 15, 2011 12:18 pm
If I recall correctly, The Art of Assembly Language uses HLA (High Level Assembly) syntax, which is the opposite way around to typical Intel style syntax.
Code: Select all
Intel style:
  mov   eax, 2  // mov 2 into the eax register

HLA equivalent:
  mov  (2, eax);
Just something to beware of :)
 #6852  by kmd
 Sat Jun 18, 2011 4:13 am
utsav.0202 wrote:what do I use MASM or MASM32?
depends on what u want to compile