开发者

Where to start learning assembly - IDE, examples

开发者 https://www.devze.com 2023-03-24 14:19 出处:网络
I have a solid knowledge of C#, I can use C quite well, and I am learning C++. I really would like to learn x86 assembly language for Windows, perhaps MASM, but I don\'t know where to start.

I have a solid knowledge of C#, I can use C quite well, and I am learning C++. I really would like to learn x86 assembly language for Windows, perhaps MASM, but I don't know where to start.

The first thing is the IDE. If at all possible I would like a syntax-highlighting, compiling, linking IDE, as I hate using command开发者_Python百科-line tools. I do have a nice enough editor, so just a compiler and linker GUI would also be fine. Does anybody have any recommendations?

I also am going to need some good tutorials on assembly, so if anyone knows of a good assembly intro, please post a link.


There are a number of assemblers you can use MASM, NASM, ObjASM, YASM, HLA, and TASM among them. Personally, I use MASM because it does everything I need and the macros allow you to transition from C style code to MASM pretty easily.

As stated earlier, Iczelion's Page is an excellent resource. If you want a group dedicated to Windows assembly programming try the ASM Community Message Board. Despite its detractors, I also believe that Kip R. Irvine's book is one of the best out there covering windows development in MASM.

For syntax highlighting, I would suggest Notepad++. For assembling, you can use the batch file I posted in this question: Project Options in Qeditor of MASM32 isn't working

Assembly programming is a lot of fun. Ask lots of questions and good luck.


I know of some books that are good to learn from. I am not sure of online tutorials. Some of the material you will find is a little outdated just be cautious.

  • http://www.amazon.com/Introduction-Assembly-Language-Computer-Architecture/dp/0763772232/ref=sr_1_1?ie=UTF8&qid=1312331523&sr=8-1


Iczelion's Page is almost all you need for Win32Asm programming. For an introduction in assembly look at Randy Hyde's Page


Since you are already familiar with c# then you should be comfortable with the Visual Studio 2010 IDE. My blog describes how to configure VS 2010 for MASM32 programming with libraries from MASM32.com. scriptbucket.wordpress.com


I started by learning MIPS in my university so switching to x86 is not that hard but it requires a lot of study. I suggest to you to buy or look for a solid and big book of x86 asm that contains even all the math basics required (logic gates, boolean algebra, numeric encoding, floating point etc.) As ide i suggest to you to use SASM or visual masm, even visual studio can be adapted as a masm ide.

0

精彩评论

暂无评论...
验证码 换一张
取 消