Forum   Search   Register   Log in SUPERJER FORUM
 

Assembly

Pages: [1]
Programming Help
sprinkles

Chrome Whore
2009 Sep 6 • 2480
10 ₧
I decided to learn some assembly, so I can learn what exactly the rig is doing. Anybody have any good tutorials?
...then I got some ap, and shot a big ass lazar at everyone.
    2010 Oct 6 at 03:52
Killer-Duck
Homicidal Anatidae

2008 Mar 5 • 1169
633 ₧
x86 is a clusterfuck, I would personally start learning assembly on a simple 8-bit microprocessor (6502, Z80, etc.) and then work my way upwards to the more advanced processors (like x86).

However, if you still want to go down the x86-road, here are some links:

http://siyobik.info/index.php?document=x86_32bit_asm
http://www.frontiernet.net/~fys/faq/index.htm
http://www.cs.virginia.edu/~evans/cs216/guides/x86.html

And of course, the official Intel-docs:
http://www.intel.com/products/processor/manuals/
QUACK! QUACK!
    (Edited 2010 Oct 6 at 04:26)     2010 Oct 6 at 04:13
SRAW
Rocket Man

2007 Nov 6 • 2140
601 ₧
Killer-Duck said:
x86 is a fustercluck


HE SPEAKS.
Free Steam Games
    2010 Oct 6 at 05:54
the_cloud_system
polly pushy pants

2008 Aug 1 • 2829
-6 ₧
hes back?
I am on a journey that I hope I will never finish.
    2010 Oct 6 at 06:41
phoenix_r

2009 May 13 • 623
17 ₧
I thought MIT had an assembly class on OCW, but I can't seem to find it. I'll keep searching for the link, I know I've got it bookmarked somewhere...

I agree on starting simply. Another thing you can do: if you know other languages, some IDE's will show you the assembly for what's happening while you're debugging. I know Eclipse does it with C, can't speak for anything else.
    2010 Oct 6 at 08:32
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5325
57,583 ₧
There's a way to make gcc do it, can't remember how though.
Everyone stares when you walk in the room, they stare when you go....
    2010 Oct 6 at 13:40
superjer
superjer

2005 Mar 20 • 3762
Down Rodeo said:
There's a way to make gcc do it, can't remember how though.


code
gcc -c -g -Wa,-ahl=example.s example.c


That will compile example.c into assembler in example.s, plus comments and line numbers showing your original source code. Pretty neat.
    2010 Oct 6 at 14:43
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5325
57,583 ₧
    2010 Oct 6 at 15:25
adhesive

Find the Hole Participation Medal
Find the Hole II 1st Place Medal
2007 Sep 13 • 79
1,301 ₧
I would recommend LC-3 Because it's 16-bit, you can run it on an emulator, and it's entry level. You can download it here http://highered.mcgraw-hill.com/sites/0072467509/student_view0/lc-3_simulator.html
You could also read Patt & Patel's book if you want to learn about LC-3, computing, and C programming.

Here's a reference sheet : http://users.crhc.illinois.edu/awise/AssemblerTutorial.htm
SRAW said:
hey a rare cameo by adhesive
    (Edited 2010 Oct 6 at 18:41)     2010 Oct 6 at 18:38
phoenix_r

2009 May 13 • 623
17 ₧
    2010 Oct 13 at 13:15

Pages: [1]
Forum and design copyright © 2008-2010 SuperJer.com