Author Topic: Learning Assembly  (Read 7218 times)

0 Members and 1 Guest are viewing this topic.

th3g00n

  • Guest
Learning Assembly
« 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?

Offline petermlm

  • Knight
  • **
  • Posts: 226
  • Cookies: 7
  • Information is Power
    • View Profile
    • Security Check
Re: Learning Assembly
« Reply #1 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.

Offline daedalus

  • /dev/null
  • *
  • Posts: 13
  • Cookies: 2
    • View Profile
Re: Learning Assembly
« Reply #2 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

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


FreeBSD Assembly
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.

Offline p_2001

  • Royal Highness
  • ****
  • Posts: 684
  • Cookies: -64
    • View Profile
Re: Learning Assembly
« Reply #3 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
"Always have a plan"

Offline FractalInsanity

  • /dev/null
  • *
  • Posts: 19
  • Cookies: -2
  • How can intuition deceive us at this point?
    • View Profile
Re: Learning Assembly
« Reply #4 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?




Offline Daemon

  • VIP
  • Baron
  • *
  • Posts: 845
  • Cookies: 153
  • A wise man fears a gentle mans anger
    • View Profile
Re: Learning Assembly
« Reply #5 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!!
This lifestyle is strictly DIY or GTFO - lucid

Because sexploits are for h0edays - noncetonic


Xires burns the souls of HF skids as a power supply

Offline Stackprotector

  • Administrator
  • Titan
  • *
  • Posts: 2515
  • Cookies: 205
    • View Profile
Re: Learning Assembly
« Reply #6 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 :)
~Factionwars

Offline Dark Nebulae

  • Peasant
  • *
  • Posts: 117
  • Cookies: -79
  • Unleash the Hacker within you
    • View Profile
Re: Learning Assembly
« Reply #7 on: September 11, 2012, 09:09:16 am »
Thanks daedalus .Thank you very much for the links but the second link is not working.
Trust is like a piece of paper.Once it is crumbled,it can never be perfect.