|
|
 |
01-29-2003, 03:37 PM
|
#1
|
|
Platinum Member
Join Date: Oct 2001
Posts: 2,680
|
Any easy way to learn x86 assembler?
I want to learn assembly language for some processor that I can emulate on my PC, or run directly on my computer. I'm in an advanced c++ class at the moment, but I want to know how programming works on a lower level. I found a few tutorials, but I don't know how to compile it. It would be cool to be able to program without a compiler, but I'm not about to learn binary machine code. So 2 questions: What tutorial/book should I use, and how do I compile an assembly language program?
|
|
|
01-29-2003, 03:47 PM
|
#2
|
|
Elite Member
Join Date: Jul 2000
Posts: 9,180
|
Any easy way to learn x86 assembler?
define easy. the best way is to find some tutorials online. Ithink the language is "assembly".... the compiler for it is the "assembler"
__________________
*Not speaking for any company
|
|
|
01-29-2003, 03:51 PM
|
#3
|
|
Elite Member
Join Date: Sep 2001
Posts: 30,636
|
Any easy way to learn x86 assembler?
Most colleges teach assembly on something like MIPS because it's much simpler to understand, x86 assembly is really ugly.
|
|
|
01-29-2003, 04:15 PM
|
#4
|
|
Elite Member
Join Date: Aug 2001
Location: Bellevue, WA
Posts: 35,483
|
Any easy way to learn x86 assembler?
Like any other language: read what the commands are, write some programs. No magic, just more steps to go through to do anything, and only a few built-in "variables" (registers).
|
|
|
01-29-2003, 07:15 PM
|
#5
|
|
Platinum Member
Join Date: Oct 2001
Posts: 2,680
|
Any easy way to learn x86 assembler?
Quote:
Originally posted by: Nothinman
Most colleges teach assembly on something like MIPS because it's much simpler to understand, x86 assembly is really ugly.
|
Well if MIPS is easier, couldn't I get a MIPS emulator for my computer and then write MIPS assembly?
|
|
|
01-29-2003, 07:26 PM
|
#6
|
|
Elite Member
Join Date: Sep 2001
Posts: 30,636
|
Any easy way to learn x86 assembler?
Quote:
|
Well if MIPS is easier, couldn't I get a MIPS emulator for my computer and then write MIPS assembly?
|
Probably. I havn't personally looked.
|
|
|
01-29-2003, 07:37 PM
|
#7
|
|
Diamond Member
Join Date: Jan 2000
Posts: 6,547
|
Any easy way to learn x86 assembler?
Quote:
Originally posted by: dude8604
Quote:
Originally posted by: Nothinman
Most colleges teach assembly on something like MIPS because it's much simpler to understand, x86 assembly is really ugly.
|
Well if MIPS is easier, couldn't I get a MIPS emulator for my computer and then write MIPS assembly?
|
Yes, one for UNIX is called spim. =)
|
|
|
01-29-2003, 07:41 PM
|
#8
|
|
Lifer
Join Date: Oct 1999
Posts: 13,970
|
Any easy way to learn x86 assembler?
Read The Art of Assembly Language, get an assembler, then go to work. Careful w/ that last link, it wants to install Gator. That used to be the best resource for win32 asm long ago. I haven't done assembly work in a while.
MASM makes assembly extremely simple, so that may be an option for you as well. There are various ways to acquire MASM if you don't already have it.
If you're looking to do some asm on linux, look at the linux asm how-to.
|
|
|
01-29-2003, 10:29 PM
|
#9
|
|
Lifer
Join Date: Feb 2001
Posts: 38,244
|
Any easy way to learn x86 assembler?
Quote:
Originally posted by: manly
Quote:
Originally posted by: dude8604
Quote:
Originally posted by: Nothinman
Most colleges teach assembly on something like MIPS because it's much simpler to understand, x86 assembly is really ugly.
|
Well if MIPS is easier, couldn't I get a MIPS emulator for my computer and then write MIPS assembly?
|
Yes, one for UNIX is called spim. =)
|
It's available for windows, too.
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:28 PM.
|