Assembly

Assembly

sprinkles

Chrome Whore
2009 Sep 6 • 2547
10 ₧
I decided to learn some assembly, so I can learn what exactly the rig is doing. Anybody have any good tutorials?
 
 
 
2010 Oct 6 at 10:52 UTC
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!
 
 
 
2010 Oct 6 at 11:13 UTC — Ed. 2010 Oct 6 at 11:26 UTC
SRAW
Rocket Man

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


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

2008 Aug 1 • 3081
-6 ₧
hes back?
I drink to forget but I always remember.
 
 
 
2010 Oct 6 at 13:41 UTC
phoenix_r

2009 May 13 • 905
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.
BOO
 
 
 
2010 Oct 6 at 15:32 UTC
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5486
57,583 ₧
 
 
 
2010 Oct 6 at 20:40 UTC
SuperJer
Websiteman

2005 Mar 21 • 6666
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 21:43 UTC
Down Rodeo
Cap'n Moth of the Firehouse

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

Find the Hole Participation Medal
Find the Hole II 1st Place Medal
2007 Sep 14 • 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
 
 
 
2010 Oct 7 at 01:38 UTC — Ed. 2010 Oct 7 at 01:41 UTC
phoenix_r

2009 May 13 • 905
17 ₧
 
 
 
2010 Oct 13 at 20:15 UTC
Page [1]