PDA

Click to See Complete Forum and Search --> : Is it hard to learn assembly?


RedDevil
Feb 24th, 2005, 08:23 AM
Im a c, c++, java, vb,vb.net programmer. Im going to start to learn a new language that is Assembly language in my Uni. I was told it is dam hard to learn and the failure rate is 50%++ for a class. When i heard that i got freak out. Is assembly that hard?? Is it possible that i learn with out a problem? Please gimme advice how to learn Assembly language the effective way!! Thanks!!

Maven
Feb 25th, 2005, 01:10 AM
Im a c, c++, java, vb,vb.net programmer. Im going to start to learn a new language that is Assembly language in my Uni. I was told it is dam hard to learn and the failure rate is 50%++ for a class. When i heard that i got freak out. Is assembly that hard?? Is it possible that i learn with out a problem? Please gimme advice how to learn Assembly language the effective way!! Thanks!!

Drop out rates for anything computer science is high, so don't let that scare you. If you can program in c or C++ then you should have no problem in asm. ASM is very straight forward and very simple in structure. There is a few concepts that you will have to learn, registers will be the very first one. The CPU doesn't execute code directly from standard memory like some may think. Instead it moves the data into a high speed storage location called a register. There is 8 general registers: EAX, EBX, ECX, EDX, ESI, EDI, EBP, ESP and that is what you're program uses all the time to work with data.

So basically before you really work with any data you would move it into a register. It would look something like this:

; Load memory into eax from a pointer stored in esi.
mov eax, dword ptr [esi]

add 1 to the variable.
add eax, 1

;store it back into memory
mov dword ptr [esi], eax


see nothing to it!

yeohhs
Apr 18th, 2005, 11:35 PM
Is it possible that i learn with out a problem? Please gimme advice how to learn Assembly language the effective way!! Thanks!!

You might want to check out this on-line book (still work-in-progress by the Win32 asm community)
x86 ASM32 book at:
http://www.win32asmcommunity.net/phpwiki/

Best Regards,
Yeoh
--

BobTheBuilder.
Apr 19th, 2005, 01:29 PM
As long as you are fluent in hexadecimal you should have no problems :cool:

asmdev
Apr 19th, 2005, 02:06 PM
plez check out this free assembler, FASM (Flat Assembler) by Tomasz Grysztar. He is genious :)

http://flatassembler.net

and their board.

http://board.flatassembler.net

32 and 64 bits assembler available (free currently). together with source code.