Assembly

Homework giving you a headache? Math gives you a migraine? Can't quite figure out how to do something in photoshop? Never fear, the other members of CAA share their expertise in this forum.

Assembly

Postby Slater » Tue Jan 16, 2007 1:13 am

So, this semester I am going to learn Assembly. Like my past programming classes, I'd like to get a head start before instruction begins, so I have a few questions...

1. What's a good assembly program?

2. Are there any recommended places that I should check out online to learn assembly?
Image
User avatar
Slater
 
Posts: 2671
Joined: Sat May 22, 2004 10:00 am
Location: Pacifica, Caliphornia

Postby Icarus » Tue Jan 16, 2007 9:16 am

All I know of assembly is from this thread:

http://christiananime.net/showthread.php?t=35749
The Forsworn War of 34

††
User avatar
Icarus
 
Posts: 1477
Joined: Sun Nov 09, 2003 5:00 am
Location: 34

Postby Technomancer » Tue Jan 16, 2007 11:10 am

You should probably look into getting Irvine's book:

http://www.amazon.com/Assembly-Language-Intel-Based-Computers-CD-Rom/dp/0132383101/sr=1-1/qid=1168974479/ref=pd_bbs_sr_1/102-4307096-4093736?ie=UTF8&s=books

As far as online resources go, you could probably check out Programmer's Heaven:
http://www.programmersheaven.com/
The scientific method," Thomas Henry Huxley once wrote, "is nothing but the normal working of the human mind." That is to say, when the mind is working; that is to say further, when it is engaged in corrrecting its mistakes. Taking this point of view, we may conclude that science is not physics, biology, or chemistry—is not even a "subject"—but a moral imperative drawn from a larger narrative whose purpose is to give perspective, balance, and humility to learning.

Neil Postman
(The End of Education)

Anti-intellectualism has been a constant thread winding its way through our political and cultural life, nurtured by the false notion that democracy means that my ignorance is just as good as your knowledge

Isaac Aasimov
User avatar
Technomancer
 
Posts: 2379
Joined: Fri Jun 13, 2003 11:47 am
Location: Tralfamadore

Postby Warrior4Christ » Wed Jan 17, 2007 4:22 am

Icarus wrote:All I know of assembly is from this thread:

http://christiananime.net/showthread.php?t=35749

FASM is probably a good place to start (a link from that page).

I first learned about assembly years ago from the PCGPE (PC Game Programmer's Encyclopedia). It's old, but has many interesting articles/tutorials on many different topics. It's mainly to do with DOS based programming. But it's still a good read. The parts relevant to you would be the assembly section, but it specifically deals with Intel assembly rather than in general terms. It include a large document with all the Intel instructions too (useful!). Highly recommended.
http://www.geocities.com/SiliconValley/2151/pcgpe.html
Everywhere like such as, and MOES.

"Expect great things from God; attempt great things for God." - William Carey
User avatar
Warrior4Christ
 
Posts: 2045
Joined: Sat Aug 20, 2005 8:10 pm
Location: Carefully place an additional prawn on the barbecue

Postby termyt » Wed Jan 17, 2007 7:49 am

Ahhhh assembler. I haven't programmed in it since college. I'm such a waste of a potentially good programmer.

It's important to know what you will be programming on. Each platform can have a unique set of assembler commands. However, I assume you will be using an intel platform, so the stuff here is pretty relevant.

All my assembler was done on an IBM 370 mainframe (I am so stinking old) and was over ten years ago, so I wouldn't be much help anyways.
[color="Red"]Please visit Love146.org[/color]
A member of the Society of Hatted Members
Image
If your pedantic about grammar, its unlikely that you'll copy and paste this into your sig, to.
User avatar
termyt
 
Posts: 4289
Joined: Sat Jun 26, 2004 12:00 pm
Location: oHIo

Postby Technomancer » Wed Jan 17, 2007 8:39 am

termyt wrote:Ahhhh assembler. I haven't programmed in it since college. I'm such a waste of a potentially good programmer.

It's important to know what you will be programming on. Each platform can have a unique set of assembler commands. However, I assume you will be using an intel platform, so the stuff here is pretty relevant.


This would be true. Pretty much any general course on assembler would be using an Intel x86 platform. There are a few more specialized courses that might focus on microcontrollers or DSP platforms (I really wish I could have done the latter!). For myself I haven't had to do this since my undergrad days (which was on an 8051), although I'd first learned x86 and Z80 assembler when I was in high school.
The scientific method," Thomas Henry Huxley once wrote, "is nothing but the normal working of the human mind." That is to say, when the mind is working; that is to say further, when it is engaged in corrrecting its mistakes. Taking this point of view, we may conclude that science is not physics, biology, or chemistry—is not even a "subject"—but a moral imperative drawn from a larger narrative whose purpose is to give perspective, balance, and humility to learning.

Neil Postman
(The End of Education)

Anti-intellectualism has been a constant thread winding its way through our political and cultural life, nurtured by the false notion that democracy means that my ignorance is just as good as your knowledge

Isaac Aasimov
User avatar
Technomancer
 
Posts: 2379
Joined: Fri Jun 13, 2003 11:47 am
Location: Tralfamadore

Postby Warrior4Christ » Thu Jan 18, 2007 4:06 am

Technomancer wrote:This would be true. Pretty much any general course on assembler would be using an Intel x86 platform.

In a course I did, we learned DLX assembly and a very small amount of Intel assembly.
Everywhere like such as, and MOES.

"Expect great things from God; attempt great things for God." - William Carey
User avatar
Warrior4Christ
 
Posts: 2045
Joined: Sat Aug 20, 2005 8:10 pm
Location: Carefully place an additional prawn on the barbecue

Postby Slater » Thu Jan 18, 2007 5:42 pm

lol, I just tried the hello world program I found on one of those tutorials... didn't work >_> *wonders what platform he's running exactly*
Image
User avatar
Slater
 
Posts: 2671
Joined: Sat May 22, 2004 10:00 am
Location: Pacifica, Caliphornia


Return to Tutorials

Who is online

Users browsing this forum: No registered users and 91 guests