Re: HLA and embedded controllers



vid512@xxxxxxxxx wrote:
Actually, I am doing that right now. The HLA stdlib v2.x will probably
start appearing within a month or so. There are a couple of reasons
I'm rewriting the library (though this has nothihng to do with
supporting microcontrollers); in order of priority:
wow, i've got competition ;)
i am writing FASMLIB, std library for FASM, and want to make it
seriously. Yours library is only one looking like real std library i've
seen yet. unfortunately it is limited to HLA-only by design, thus
unusable for ASM programmers.


It is usable by other assemblers. The biggest problem I can see to
porting it to FASM is using the HLA stdlib's 'put' macros since FASM
lacks type-casting. So you can't do something like

stdout.put uns32Var, nl, stringPtr, csetVar, int32Var

And have the macro sort out the correct routines to call. If there is
a way to write a macro like that in FASM, I would sure like to know
about it :)

-sevag.k
www.geocities.com/kahlinor

.



Relevant Pages

  • Re: HLA and embedded controllers
    ... The fact is that the SEH code I use with HLA *is* portable ... Unless I don't understand what you mean by macro overloading, ... in FASM, you ... Assembly Language Programmers, v2.0, back in 1995. ...
    (alt.lang.asm)
  • Re: Bad habits
    ... Do you have an example of something Fasm can do, that Nasm can't? ... Nasm's macro syntax is uglier than a bulldog's hind end. ... We'll be wanting something a little more sophisticated, but for openers, how would that look in Fasm? ... The makefile for Chuck's "axgame.asm" looks like it produces a list file, but only produces a "usage" message for me. ...
    (alt.lang.asm)
  • Re: Calculating checksums...
    ... Don't know NASM good enough to do it the proper way. ... I posted the code because Mike claimed only FASM can do this. ... it just doesn't use the CPU language but the macro ... returns the modified source code line which should be processed by NASM. ...
    (alt.lang.asm)
  • Re: Yet Another Macro to Generate Jump Tables
    ... >> Betov wrote: ... >>> Mind you, pathetic idiot, with FASM, it is even possible ... RosAsm's macro subsystem isn't as powerful as FASM's. ... I find it interesting that you counter the weaknesses in the RosAsm ...
    (alt.lang.asm)
  • Re: Bad habits
    ... You've stated, in the past, that Fasm's macro language was "more ... Do you have an example of something Fasm can do, ... reverse push arg ... parameter2 in this case would be: ...
    (alt.lang.asm)