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 03:52 PDT
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 04:13 PDT — Ed. 2010 Oct 6 at 04:26 PDT
SRAW
Rocket Man

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


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

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

2009 May 13 • 896
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 08:32 PDT
Down Rodeo
Cap'n Moth of the Firehouse

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

2005 Mar 20 • 6155
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 PDT
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5486
57,583 ₧
 
 
2010 Oct 6 at 15:25 PDT
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
 
 
2010 Oct 6 at 18:38 PDT — Ed. 2010 Oct 6 at 18:41 PDT
phoenix_r

2009 May 13 • 896
17 ₧
 
 
2010 Oct 13 at 13:15 PDT
Page [1]