FAG> I want to make an ASM compiler for a microprocessor. I want to
FAG> start with one for the 6809.
BM> Technically, that's a cross-assembler, not a compiler.
FAG> What is a "cross-assebler"? (I mean, what's the difference between a
FAG> cross-assembler and an assembler?)
I believe he's mistaken. A cross compiler takes code and at the syntax
level and writes another syntax structure. (I've never heard of one that
builds a parse tree, and undos the parse tree; which would be ideal)
An example is a Pascal to C converter. It would take a format like "if
(condition) then begin [...] end;" and convert it to "if (condition) {
[...] }" etc.
He thought that you were designed a compiler to read 80x86 asm code and
generate 6809 asm code. (which would be a cross compiler, and that
does not sound like what you're doing)
- DarkFire
[John Stephenson (an INTP), Fingerprint: 66BE3A3B6EEE9A5B-48001A32901ECA21]
[Composed at 3:29:30p on 1998-03-28 (UTC) using PGPWave v1.24a Beta]
--- Maximus 2.01wb
---------------
* Origin: *Synthesis* Kingston, Ont., Canada! (1:249/127)
|