Hi, over the passed few months assembly has lured me in. I'm wondering, do any of you have any guides or references to the way assembly actually works? If this is of any help, I've chosen the assembler, FAsm.
I'm trying to stay away from Win32, as my goal is to work with my own operating system in the future.
Assembly beginner -- Need some references / guides
- carbonBased
- Member
- Posts: 382
- Joined: Sat Nov 20, 2004 12:00 am
- Location: Wellesley, Ontario, Canada
- Contact:
Re: Assembly beginner -- Need some references / guides
There's tons of tutorials on the internet, just google them. There's also several good books on the topic, although not a whole lot of recent ones.
In any event, and OS is not a good choice for your first asm project, imo.
--Jeff
In any event, and OS is not a good choice for your first asm project, imo.
--Jeff
Re: Assembly beginner -- Need some references / guides
I recommend that you start learning it in DOS, a good tutorial that uses fasm is: http://www.decard.net/article.php?body=tajga&chapter=01
-
- Member
- Posts: 31
- Joined: Sun Jun 26, 2005 11:00 pm
- Location: Toronto, Ontario, Canada
- Contact:
Re: Assembly beginner -- Need some references / guides
Well, my first real ASM project was my OS. And for god sakes, please use NASM, not FASM. You will find a lot more source code for NASM.
http://individual.utoronto.ca/Phibred you can download my Operating System from there, with all of the source code in assembler. You can probly learn a lot about ASM by tampering with my code and stuff.
http://individual.utoronto.ca/Phibred you can download my Operating System from there, with all of the source code in assembler. You can probly learn a lot about ASM by tampering with my code and stuff.
It will come from the ashes of the old era.
-- James Vaughan
-- James Vaughan
Re: Assembly beginner -- Need some references / guides
"And for god sakes, please use NASM, not FASM. You will find a lot more source code for NASM. "
Eh, thats not a good reason at all. If you don't get NASM source to assemble in FASM then you don't know how to program assembly. The syntax is almost excatly the same, key diffrens is that you write like:
org 0x100
use16 or use32
instead of:
[ORG 0x100]
[BITS 16] or [BITS 32]
Eh, thats not a good reason at all. If you don't get NASM source to assemble in FASM then you don't know how to program assembly. The syntax is almost excatly the same, key diffrens is that you write like:
org 0x100
use16 or use32
instead of:
[ORG 0x100]
[BITS 16] or [BITS 32]
Re: Assembly beginner -- Need some references / guides
and things like
lea bx,labell
labell:
is valid in tasm but not in nasm or fasm(i dont think anyway)
and
mov bx,labell
labell:
is not valid in tasm but the way almost every other assembler does it
if you can not convert code from nasm to fasm or whatever then you can not possibly understand what you are coding
lea bx,labell
labell:
is valid in tasm but not in nasm or fasm(i dont think anyway)
and
mov bx,labell
labell:
is not valid in tasm but the way almost every other assembler does it
if you can not convert code from nasm to fasm or whatever then you can not possibly understand what you are coding
-
- Member
- Posts: 31
- Joined: Sun Jun 26, 2005 11:00 pm
- Location: Toronto, Ontario, Canada
- Contact:
Re: Assembly beginner -- Need some references / guides
For a beginner, less things that can go wrong is better. That is all I am saying and NASM is kind of the standard assembler anyway, so you should learn how to use it if you want to do most things.
It will come from the ashes of the old era.
-- James Vaughan
-- James Vaughan
Re: Assembly beginner -- Need some references / guides
yes i agree nasm is probably the best
infact i'm currently (attempting) to ocnvert all my tasm code to nasm as tasm is 1. not free 2. not quite the least buggy 3. not compatabile with most other assemblers and 4. most people dont use tasm
infact i'm currently (attempting) to ocnvert all my tasm code to nasm as tasm is 1. not free 2. not quite the least buggy 3. not compatabile with most other assemblers and 4. most people dont use tasm