linux-assembly.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Frederic Marmond <fmarmond@eprocess.fr>
To: b klein <b_klein1@yahoo.com>
Cc: linux-assembly@vger.kernel.org
Subject: Re: confused asm newbie
Date: Mon, 17 Nov 2003 13:29:31 +0100	[thread overview]
Message-ID: <3FB8BF2B.3070000@eprocess.fr> (raw)
In-Reply-To: <20031117114725.79704.qmail@web41313.mail.yahoo.com>

b klein wrote:

>im trying to learn asm and use nasm, ald and a little
>gdb for it. im not a newbie to programming or
>assembly. ive learned it some time ago and come back
>to it now. so my question is what is the important
>bits that are worth learning? Im not interested in
>learning a tool, i want to learn the .. well
>'language'
>but if it isnt a language, what should it be?
>addressing modes, big-little endian, memory models,
>8-16-32-64 (12?) bits processors, ports, interupts or
>something else?
> 
>  
>
Hum...
1: find something to do!
Take something you would like to do (an assembly routine that write a 
text to the screen very quickly, a boot loader (not so hard to do!), a 
ACPI state reader, or what else you want)

2: get a compilator (cc is one)

3: try to do it.

I Think it is the only good way to learn assembly. By this method, 
you'll see how to use a tool (the compilator, but it will not be the 
main goal, you can choose the one you want), learn how to get doc (about 
the OS you are on, about BIOS if you have no OS, about the chips if you 
don't want to use BIOS, ...) and how all that work.
Once you have enough knowledge about one particular architecture, you 
can safety try an other!

Fred



  reply	other threads:[~2003-11-17 12:29 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-23 12:03 confused asm newbie Jason Roberts
2003-10-23 12:53 ` Frederic Marmond
2003-10-23 14:38 ` willy meier
2003-10-23 15:50 ` Philip Jacob Smith
2003-11-01 17:07   ` GRUB sample kernel question ram
2003-11-01 21:24     ` Alexander Jänicke
2003-11-01 22:36       ` ram
2003-11-17 11:47   ` confused asm newbie b klein
2003-11-17 12:29     ` Frederic Marmond [this message]
2003-11-17 13:18       ` b klein
2003-11-17 13:36         ` Frederic Marmond
2003-11-18  2:51     ` Philip Jacob Smith
2003-11-20 21:52       ` b klein

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3FB8BF2B.3070000@eprocess.fr \
    --to=fmarmond@eprocess.fr \
    --cc=b_klein1@yahoo.com \
    --cc=linux-assembly@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).