EvilZone

Programming and Scripting => Assembly - Embedded => Topic started by: th3g00n on February 16, 2012, 12:54:49 PM

Title: Learning Assembly
Post by: th3g00n on February 16, 2012, 12:54:49 PM
Hello here, I'm kinda new to computer programming and hacking but i have background knowledge in C++. ( am treating "Pointers" rite now)
     Is this sufficient for me to start learnin Assembly?
Title: Re: Learning Assembly
Post by: petermlm on February 16, 2012, 02:31:39 PM
Well. To learn assembly you don't really need to learn any other language. But understanding the concept of pointer in C and C++ is a great to understand programming in an assembly language.
Title: Re: Learning Assembly
Post by: daedalus on May 02, 2012, 03:27:44 AM
These books have helped me....


Programming from the Ground Up:
http://nongnu.askapache.com/pgubook/ProgrammingGroundUp-1-0-booksize.pdf (http://nongnu.askapache.com/pgubook/ProgrammingGroundUp-1-0-booksize.pdf)

Professional Assembly Language:
http://www.ebookpdf.net/ebook-pdf_professional-assembly-language_6110.html (http://www.ebookpdf.net/ebook-pdf_professional-assembly-language_6110.html)


FreeBSD Assembly
http://www.int80h.org/bsdasm/ (http://www.int80h.org/bsdasm/)


It would help to know what architecture and Operating System you'll be using. Also, remember that various assemblers will have different syntax.
Title: Re: Learning Assembly
Post by: p_2001 on May 02, 2012, 05:43:39 AM
here is how I learned it...

first learn the architecture of microprocessor....
familarize yourself with registers, memory addresses, number systems(binary,hex,oct(optional), and of course decimal)......, clocks, logic gates(just basics and operations).
learn addressing modes.

then learn opcodes of the microprocessor you are working on..

learn about code segments and data segments...

look at sample codes for add,subtract,multiply,divide (all are direct instructions in microprocessors, but it is good practice), then learn sqrt,lookup table,stacks and basic i/o with interrupts.

then just start programming
Title: Re: Learning Assembly
Post by: FractalInsanity on July 04, 2012, 01:28:53 PM
is dealing with assembly essential to hacking/effectively manipulating the machine....


I'm going completely high-level pretty much.....I would take a wild guess that OS's are generally coded in C-based?



Title: Re: Learning Assembly
Post by: Daemon on July 10, 2012, 09:56:28 PM
As far as learning assembly goes, c++ should be sufficient. Most schools where I live have.you learn c++ or java then assembly next. In fact, I would suggest looking to your locak community college for assembly classes. Dirt cheap compared to a 4 year, and it provides you with structure and prijects to help reinforce what you learn. Pkus if you talk to the professor or a counselor before hand they can waive any pre reqs if you assure them you know your shizz and if your only looking to take the class to learn not for transfer or degree programs. If your looking to transfer or get a degree you unfortunately have to jump through the hoops and take the pre reqs.
In fact I'm trying to get into an assembly class thia next semester even though its full lol.
Cheers mate, good luck with it!!
Title: Re: Learning Assembly
Post by: Stackprotector on August 06, 2012, 10:59:16 PM
I used securitytube.com, and after that passed onto masm32 windows assembly programming.  Also lena's guide to reversing is very good and gives you a steady hand on ollydbg reverse assembly :)
Title: Re: Learning Assembly
Post by: Dark Nebulae on September 11, 2012, 09:09:16 AM
Thanks daedalus .Thank you very much for the links but the second link is not working.