• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Any easy way to learn x86 assembler?

dude8604

Platinum Member
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?
 
define easy. the best way is to find some tutorials online. Ithink the language is "assembly".... the compiler for it is the "assembler"
 
Most colleges teach assembly on something like MIPS because it's much simpler to understand, x86 assembly is really ugly.
 
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).
 
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?
 
Originally posted by: dude8604
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. =)
 
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.
 
Originally posted by: manly
Originally posted by: dude8604
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.
 
Back
Top