Re: Two Click disassembly/reassembly



Frank Kotler <fbkotler@xxxxxxxxxxx> écrivait
news:eZadnT1q8IsWAEnenZ2dnUVZ_sCdnZ2d@xxxxxxxxxxx:

> If you believe in portable (across architectures) assembly, I'll see if
> I can dig up Scot Nudds' address.

No, i do not believe in a cross architectures Assembly.
This does not make any sense to me... unless the name
would be... C.

I am just saying that, once you have written an
Application in Assembly, if the used Assembler has an
implemented Flag for Encoding "for this or for that",
There is absolutely nothing, on a theorical point of
view, saying that it would impossible to substitute
the original OpCodes with remplacements, for Compile,
as long as this is nothing but what the so called
"portable" HLLs do.

Cross Architectures Assembly would imply defining a
"super-set to them all", where no version, at all,
could ever deserve the name of Assembly.

Another way, is with writting one version of an
Application, for each Processor, either with a Flag
saying which Encoder (in the given Assembler) to fire
on the given Code, or even (as already done) to have
one separated version of the given Assembler with a
different Encoders. These two solutions are, in no way
"Ported Assembler". They are "Assemblers", that is,
they imply having as many Sources versions as targetted
Processors... What nobody would really want to have.

Again, an Assembler is _not_ an Encoder, even if tons
of home-made Assemblers (for DOS, for example), are not
anything significatively more than Encoders.


Betov.

< http://rosasm.org >







.



Relevant Pages

  • Re: Two Click disassembly/reassembly
    ... substitutes the opcodes of an x86 encoder to the opcodes of it's ... > minimalist portable Assembler, but, so said, there is no ... Not if the target CPU has no real equivalent instruction. ... but no "substitutions" are done. ...
    (alt.lang.asm)
  • Re: Assembly Console Programming in Windows
    ... And then each programmer would be happy, not having to put up with the ... Then why did *you* write yet another assembler? ... Who's going to make such decisions in a "single" encoder? ... That single encoder could be NASM or Gas. ...
    (alt.lang.asm)
  • Re: Wheels falling off CLAX again ?
    ... > assembler written in asm. ... All you need for writting non-x86 Code, with an Assembler ... And, if you believe that "Assembler = Encoder", you must ...
    (alt.lang.asm)
  • Re: What micros do you actually hate to work with?
    ... I am saying what I am saying, ... Have several complete C projects for customers that fit into an ATtiny13... ... Once when I asked a C-programmer that I needed something like this and gave him a rough sketch in assembler he frowned and said he'd have to sow that in as inline assembler. ...
    (comp.arch.embedded)
  • Re: 8 bit microcontroller market
    ... in a distant birdhouse. ... That's a good way of saying it. ... smarter ways to do more with less to gain some competitive edge. ... He who thinks assembler is all stone age has probably never programmed an engine control or something like that. ...
    (comp.arch.embedded)