[SOLVED]Help with Assembler

Programming, for all ages and all languages.
Post Reply
User avatar
bashcommando
Member
Member
Posts: 62
Joined: Mon Jan 06, 2014 4:23 pm

[SOLVED]Help with Assembler

Post by bashcommando »

I have no idea on how to program with assembler but I want to know. Where can I learn?
Last edited by bashcommando on Tue Jan 20, 2015 3:46 pm, edited 1 time in total.
Building an operating system is like building an airplane, you don't want it to crash.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Help with Assembler

Post by Combuster »

I suggest you make a habit of searching and reading before asking questions. There's a sticky for this, as well as much better websites.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
siavoshkc
Member
Member
Posts: 40
Joined: Wed Feb 19, 2014 11:10 am

Re: Help with Assembler

Post by siavoshkc »

Do you know any high level language?
Check out my FSB Data Integrity Tester at http://fsbdit.sourceforge.net/.

Siavosh
User avatar
bashcommando
Member
Member
Posts: 62
Joined: Mon Jan 06, 2014 4:23 pm

Re: Help with Assembler

Post by bashcommando »

siavoshkc wrote:Do you know any high level language?
Yes. Lua, Python and a bit of C++(I don't know if that is high level or not!)
Building an operating system is like building an airplane, you don't want it to crash.
User avatar
Bender
Member
Member
Posts: 449
Joined: Wed Aug 21, 2013 3:53 am
Libera.chat IRC: bender|
Location: Asia, Singapore

Re: Help with Assembler

Post by Bender »

Perhaps the FASM Manual?
Chapter 1.2 and Chapter 2.1 are the ones that contain information about assembly syntax and x86 instructions. Rest all are assembler specific (macros/preprocessor/formats/assembler specific directives etc.).
Intel Manuals should help you too.
And maybe a Google Search?
"In a time of universal deceit - telling the truth is a revolutionary act." -- George Orwell
(R3X Runtime VM)(CHIP8 Interpreter OS)
User avatar
bashcommando
Member
Member
Posts: 62
Joined: Mon Jan 06, 2014 4:23 pm

Re: Help with Assembler

Post by bashcommando »

Bender wrote:Perhaps the FASM Manual?
Chapter 1.2 and Chapter 2.1 are the ones that contain information about assembly syntax and x86 instructions. Rest all are assembler specific (macros/preprocessor/formats/assembler specific directives etc.).
Intel Manuals should help you too.
And maybe a Google Search?
Thanks! :D Read the FASM manual, does it matter that I am using NASM?
Building an operating system is like building an airplane, you don't want it to crash.
User avatar
Bender
Member
Member
Posts: 449
Joined: Wed Aug 21, 2013 3:53 am
Libera.chat IRC: bender|
Location: Asia, Singapore

Re: Help with Assembler

Post by Bender »

Read the FASM manual, does it matter that I am using NASM?
No FASM and NASM are pretty similar when it comes to assembly syntax, however the preprocessor directives are assembler specific. For example 'include' is the include directive in FASM while counterpart in NASM is '%include'. NASM's preprocessor directives are prefixed by a '%'.
"In a time of universal deceit - telling the truth is a revolutionary act." -- George Orwell
(R3X Runtime VM)(CHIP8 Interpreter OS)
Post Reply