From: chrisbdaemon on
On Jun 19, 3:38 pm, Frank Kotler <fbkot...(a)verizon.net> wrote:
> chrisbdaemon wrote:
>
> ...
>
> > -xg worked like a charm.  I appreciate the quick-fix but would someone
> > mind explaining why it worked with gas and not fasm?
>
> The problem is not with Fasm, per se, but with the "internal Fasm" code
> in HLA. We all make bugs from time to time - unfortunately, *this* bug
> made it into the "frozen" HLA 1.99.
>
> > One of the
> > reasons I'm trying to learn assembly is a better understanding of low-
> > level things like this.
>
> Okay!!! You may ("will", I think) find that HLA is not ideal for
> examining the low-level nitty-gritty. You may also want to ditch the
> emulator/vm and work with your "real" OS... maybe even ditch the OS and
> work with "real" hardware (no idea how this is done on a Mac, even if
> it's "MacIntel"... if not... less than no idea...). But your setup gives
> you something to start with, at least.

The only reason I was starting with HLA was because I heard good
things about Art of Assembly Language and I had assumed that if I read
some of that I'd get an idea of the x86 architecture and some of the
concepts which would then allow me to transfer to regular assembly
more smoothly/easily because its at least a little bit more like other
high level languages. If you know of a better way, I'm all ears (or
eyes in this case? lol).

Thanks,
Chris
From: rhyde on
On Jun 19, 9:11 am, Herbert Kleebauer <k...(a)unibwm.de> wrote:

>
> But is the HLA lib a source code library or how else is it
> possible that 14838/224818 lines have to be compiled for a simple
> HelloWorld program? (Maybe RosAsm is the new back end assembler for
> HLA).

Perhaps because the programmer added #include( "stdlib.hhf" ) which
includes all the header files from the standard library?
Given that those 14K lines compiled in less that 0.07 seconds, does it
really matter? If the number really offends you, you can always choose
to include only "stdout.hhf" (much shorter), or if the whole idea of
calling pre-written library code really offends you, feel free to
execute the exact same instructions you posted. For "Hello World", who
really cares?
hLater,
Randy Hyde