Re: Help me about this question.
- From: Frank Kotler <fbkotler@xxxxxxxxxxx>
- Date: Sun, 18 Feb 2007 12:29:30 GMT
bufugus@xxxxxxxxx wrote:
Hi to all, i have a question to submit !
In "The Art of Assembly Language", is explained only HLA or also "pure
assembly language".
A highly controversial question! If you can define *exactly* what you mean by "pure assembly language", the question might have an answer. I think it's fair to say that the HLA language is unlike any (other) assembly language you've ever seen.
It is possible to write code in HLA, in which each statement (mnemonic and its operands) emits one opcode and its operands. It is also possible to write HLA in which the "pure assembly language" is completely hidden. If you tell us which example, or which part of the book, you're looking at, we can help you sort out which is which.
I'm little confused about because i have also have "Assembly Language
Step-by-Step", and it's examples are very different.
Yes, Jeff's "Step by Step" uses Nasm syntax (unless you've got the first edition, which is Masm, I understand). If you looked at Jonathan Bartlett's "Programming from the Ground Up" (using AT&T syntax), the examples would look different still. But they all do the same thing - more or less. Jeff's book is mostly dos, with a little Linux. Jonathan's book is Linux. Dr. Paul Crater's tut (Nasm) - http://www.drpaulcarter.com/~pcasm - is OS-independent - achieved by calling the C library for the OS stuff. Randy's AoA is mostly OS-independent - achieved by calling the HLA Standard Library. Same idea, but they look different.
You don't *have* to do this with either Nasm or HLA. HLA is more likely to. You can write "pure assembly language" with HLA, but if you're not going to use the "high level features" (and/or the library), there isn't much point to using HLA.
If you're mostly interested in "pure assembly language", AoA might not be "ideal" for you, but might still be very useful. There's a *lot* of information in there! If you prefer to see it in "pure assembly language", HLA will do the conversion into Masm, Tasm, Fasm, or (G)as (".intel_syntax noprefix") syntax for you. None of 'em are exactly like Nasm, but close enough to figure out what HLA is "really" doing...
Please help me.
"Abandon hope, all ye who enter here." - Dante
"If you weren't mad, you wouldn't be here." - Cheshire Cat
"Hang around. Some of us have gotten to *like* it." - Frank
Best,
Frank
.
- Follow-Ups:
- Re: Help me about this question.
- From: Evenbit
- Re: Help me about this question.
- From: Betov
- Re: Help me about this question.
- References:
- Help me about this question.
- From: bufugus
- Help me about this question.
- Prev by Date: Re: Help me about this question.
- Next by Date: Re: Accessing Command-line text
- Previous by thread: Re: Help me about this question.
- Next by thread: Re: Help me about this question.
- Index(es):
Relevant Pages
|