linux-assembly.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: b klein <b_klein1@yahoo.com>
To: linux-assembly@vger.kernel.org
Subject: Re: confused asm newbie
Date: Mon, 17 Nov 2003 05:18:10 -0800 (PST)	[thread overview]
Message-ID: <20031117131810.80951.qmail@web41305.mail.yahoo.com> (raw)
In-Reply-To: <3FB8BF2B.3070000@eprocess.fr>


--- Frederic Marmond <fmarmond@eprocess.fr> wrote:
> 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
> 
thanks for your reply.
Im doing something like that:
started with trying to do a FFT butterfly using the
fpu unit. i use the fpu because i want to learn how to
use it,the school's asm did not include that bit.
so far i got to:
flotingpoint variables A,B
A=A+B
B=A-B
now its just some cos and sin with the fpu.
thats cool.

The problem is how its connected to the essence of
assembly and what this essence is, because i did the
same with c++ (dont know how it goes with the
registers though).
using asm i learnd about the scratch regs,fpu and some
memory mgmnt. and i think that is the important bit
concerning asm. i allso learned a bit about nasm
commands and how to use ald (gdb is a headache). But
is is as important as the fpu and regs? 
assembly is good for some things, OS, hardware
programming, dsp, etc. i think it isnt practical to
write a databese in assembly only(possible yes). so
whats worth concetrating on ?
thanks
benny   




__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

  reply	other threads:[~2003-11-17 13:18 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
2003-11-17 13:18       ` b klein [this message]
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=20031117131810.80951.qmail@web41305.mail.yahoo.com \
    --to=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).