Re: from elsewhere, an assembler




Hi "cr88192",

... the group is human moderated (vs. machine moderated),

Be aware, Chuck posts here in ALA in the living form! :)

[..]
First, I'd keep the semicolon as the "old standard" comment
delimiter and use the separator "|" between instructions.

[..]
You should avoid automatic code-creation and offer
a few macros instead of inventing new instructions.

But it would be right for the few instructions which
"really need" a sizecast ie:

INCb/w/q/o[mem] instead of: INC very long word pointer [mem]

[..]
Mmh? Compile in memory?
Where else? :)

You mean immediate compilation with prototype opcode ?
where the programmer immediate can see code-size and format.
This is an interesting attempt as it would help for better
performing coding styles in general.


and a listing fragment (basic syntax):
add
04,ib al,i8
X80/0,ib rm8,i8
WX83/0,ib rm16,i8
TX83/0,ib rm32,i8
X83/0,ib rm64,i8
X02/r r8,rm8

where W/T/X/... tell where prefixes go (Word, DWord, REX).

I've seen it on CLAX, now I think to know its purpose...


__
wolfgang





.



Relevant Pages

  • Re: Intent of the (u)int_fastN_t types
    ... How does the standard envision this? ... actual implementations they might have considered. ... the x86 format for many instructions includes a single ... and load and zero extend 16-bit values. ...
    (comp.std.c)
  • Re: assembly in future C standard
    ... How would the C language or library be changed in light of any such ... The last changes to the C language for "CPU advancements" included ... a simple case without any prompting from the language standard. ... All new instructions can be done in C. ...
    (comp.std.c)
  • Re: Problem getting Access to separate fields of data
    ... assignment using "webcomputerassn" to download info into Access. ... instructions come from - the census website, your instructor, or what? ... the "delimiter" stage, please feel free to insult me and my entire family, ...
    (microsoft.public.access.forms)
  • Re: Problem getting Access to separate fields of data
    ... assignment using "webcomputerassn" to download info into Access. ... instructions come from - the census website, your instructor, or what? ... the "delimiter" stage, please feel free to insult me and my entire family, ...
    (microsoft.public.access.forms)
  • Re: typdefing from sig_atomic_t valid?
    ... or three instructions to do the same. ... Not in the Standard and I highly doubt in any real ... this time just hidden in the compiler handbooks. ... all accesses to volatile variables of any size were ...
    (comp.lang.c)