[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Random Question... assembly lang. advice?



On Thu, Oct 05, 2000 at 07:33:42PM -0500, John Travis wrote:
> I'm sorry for this and I will probably get flamed but all well.  I have a 
> question I have been meaning to ask someone, and I thought "what better place 
> than a mailing list full of ingenious debian developers" (flattery does get 
> you somewhere :-).  Can anyone recommend a really good book for learning 
> assembly language?  I am currently taking a course in it and my proffesor 
> doesn't go by our book at all.  So I am looking for one that is as 
> good/intuitive/interesting as assembly can be.  I am not totally new to 
> programming.  I have taken some c/c++/data structures courses, but I have 
> zero assembly experience.  Any advice would be GREATLY appreciated.

John,

Depends what CPU you're targetting. Most college courses don't teach
x86 (because it's ugly and not used all that much in embedded work),
but Motorola CPUs or PICs or something else. The instruction
set is different for each, and if you use the vendor's tools,
the assembler syntax (pragmas etc) is different too.

Once you know one CPU, it's usually just a matter of reading the
databook for a while and keeping the instruction set on hand
to use another.


Hamish
-- 
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>



Reply to: