Re: Structs in Assembly



Wrong. Once done, he will have an _HLL_, instead
of an HLL Pre-Parser. Period.

So said, Troll, i am afraid that you under-estimate
the time and capacity envolved with writing what
you call an "x86 code generator"... and if it was
as easy as what you seem to believe, our prefered
ass-hole would have finished it since ages, instead
of trying to sell an HLL Pre-Parser, on young heads,
under the name of *Assembler*.

I'd say, Troll, you overestimate it.

The difficulty of implementing a compiler (and an assembler is one) depends on the complexity and expressiveness of the language and on the optimizations done.
Therefore a straightforward assembler is by definition the easiest of compilers (straight opcode translation and no optimization).
Of course, every feature you add towards higher level add complexity.
.




Relevant Pages

  • Re: Migrating ARM9E codebase to ARM11
    ... > optimizations done using hand-coding, only the control code is left to ... You should then consider upgrading to a newer compiler. ... wish to target might be faster than the assembler optimised for the 9E. ... I do not believe that the ARM ARM for architecture version 6 has been ...
    (comp.sys.arm)
  • Re: Interesting article by Randall Hyde
    ... > assembler is that the assembler should generate _exactly_ what I ... any assembler that did optimizations would have to offer you ... But advanced programmers should be able to take advantage of compiler ... As a RL programmer I expect no such thing. ...
    (comp.lang.asm.x86)
  • Re: Some clarification on "Pre-Parsers" and other bits
    ... which is then feed to a assembler. ... To do decent optimizations, the ... compiler will work on an abstract representation of the source program ... anyway for a decent amount of it's optimizations. ...
    (alt.lang.asm)
  • Re: What micros do you actually hate to work with?
    ... the compiler was pretty good to start with. ... level optimizations and fine tuning every bit of the compiler. ... emitting fewer instructions in the end. ... as assembler written by an expert. ...
    (comp.arch.embedded)
  • Re: Some clarification on "Pre-Parsers" and other bits
    ... which is then feed to a assembler. ... To do decent optimizations, the ... compiler will work on an abstract representation of the source program ... anyway for a decent amount of it's optimizations. ...
    (alt.lang.asm)