Re: Different hex file generated by gpasm and mpasm

Martyn Welch <[email protected]> Tue, 20 Sep 2005 11:20:50 +0100
Newsgroups gmane.comp.hardware.microcontrollers.gnupic
Organization Lancaster University
Message-ID <[email protected]>
----- Original Message ----------
On Tuesday 20 September 2005 11:07, Rob Hamerling wrote:

> An assembler is not a compiler! With an assembler there is a one-to-one
> relationship between a source statement and a machine instruction. A
> compiler must translate the high level symbolic language to a machine
> instructions and it has much freedom how it wants to reach the goal.
>

Which is a very good point :-)

Next time I'll wake up before replying.

> 1. Not a fair comparison with assembler!

WRT above - yup (whoops!)

> 2. The second example will give compilation errors!   ;-)

Again, coffee required.

Martyn

-- 
Martyn Welch ([email protected])

PGP Key : http://ubicomp.lancs.ac.uk/~martyn/pgpkey.html
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBDL+KFQPzYXciChNcRAhfwAKCO2o6pYk8vzU/L27WyzYF9eq6sOACfTFGg
XTIu6Gc6U9PdlKr8KM2FSDI=
=fh+Q
-----END PGP SIGNATURE-----