Shop OBEX P1 Docs P2 Docs Learn Events
Best ways to strart learning Assembly Language?? — Parallax Forums

Best ways to strart learning Assembly Language??

laser-vectorlaser-vector Posts: 118
edited 2010-08-01 03:23 in Propeller 1
So im sure this question has been asked a million times, but what are some good materials for learning assembly language?

books,
pdf's,
websites,
tutorials..

anything is good, but free stuff is best lol

and im especially looking for well written tutorials as thats how i learn the best.


and if you all would like to share how you started in assembly language that would be helpful!

cheers

Comments

  • potatoheadpotatohead Posts: 10,261
    edited 2010-08-01 02:13
    The current version of my very beginner tutorial is here:

    http://forums.parallax.com/showthread.php?p=668559

    That is being expanded and improved, but nothing I can put out there yet. (soon though) The latest version there is a great intro. (second post down) I recommend DeSilva's document as well.

    The parent thread to that, contains some other references you will find useful.

    http://forums.parallax.com/showthread.php?p=791527

    I got my start with assembly language on the Apple ][noparse][[/noparse] computer. It has a built in mini-assembler (line assembler), and system monitor. Worked off of a photocopied opcode reference sheet, and assembled my first few programs by hand, typing them directly into the monitor in hex.

    (I recommend doing this at least once on any CPU. It's worth your time. Do something simple, like a program that makes a sound, or that blinks some LEDs, or maybe one that counts numbers on screen. Hand assembling a few hundred bytes is worth your time. The only experience closer to the CPU is keying the thing in with binary switches, directly in machine language, which is the product of assembly language.)

    On the Propeller, I got started looking at other assembly code and writing some short programs, and by modifying existing ones. Still learning too.

    Assembly language is a lot of fun, because the programmer gets to directly interact with the CPU, and because it's fast. Have fun. Don't give it up when you have to power through your first few frustrations. Ask stuff. That helps.

    The best way to go about it, IMHO, is to pick apart some other small programs. If you end up reading my tutorial, an example of how that is done and what to look for is there. Pick something simple, and comment the heck out of it, with the goal of understanding what every bit (literally) does.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Propeller Wiki: Share the coolness!
    8x8 color 80 Column NTSC Text Object
    Wondering how to set tile colors in the graphics_demo.spin?
    Safety Tip: Life is as good as YOU think it is!

    Post Edited (potatohead) : 8/1/2010 2:19:35 AM GMT
  • Roger LeeRoger Lee Posts: 339
    edited 2010-08-01 03:23
    You may want to look at Parallax Webinar Archives "Propeller Assembly Language".

    Hosted by Jeff Martin - December 2009.
Sign In or Register to comment.