Re: Help me about this question.



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

.



Relevant Pages

  • Re: HLA History
    ... If Nasm didn't already exist, ... > effort writing HLA (then again, ... > constant arrays as well as for memory addressing modes. ... > different, so it's nice to try and use different syntax, too. ...
    (alt.lang.asm)
  • Re: HLA v1.93 is now available
    ... NASM as a back-end to HLA? ... emit any macros to be processed by the back-end assembler. ... A syntax that is reasonably close to MASM so that the MASM strings ...
    (alt.lang.asm)
  • Re: newbie: I/O with nasm
    ... Isn't this more of HLA just supporting .obj files? ... We know that Randy isn't all that impressed by Nasm, but he gives it some space anyway - same with other "competing" assemblers, and even "competing" books... ... I guess there are some "issues" - not sure what - with linking against Delphi code... ...
    (alt.lang.asm)
  • Re: Canonical format for header files (was... who cares?)
    ... "Canonical form" does not fix this problem, ... up"...a NASM user also updates those include files...Guga adds another ... Jeremy et al run the final conversion to their syntax...might require ... (when both LuxAsm and HLA needed X-Windows files, ...
    (alt.lang.asm)
  • Re: HLA v1.86 is now available
    ... "I wrote HLA to support AoA32" ... I stopped teaching in 2000. ... That doesn't mean that HLA and AoA were not designed for teaching ... And, of course, your disdane for beginners (demonstrated by the names ...
    (alt.lang.asm)