gnupic: [gnupic] Different hex file generated by gpasm and mpasm


Previous by date: 21 Sep 2005 06:04:39 +0100 Re: [gnupic] xwisp2 1.7.01 released, Rob Hamerling
Next by date: 21 Sep 2005 06:04:39 +0100 Re: [gnupic] Pickit 2 under Linux, Chen Xiao Fan
Previous in thread: 21 Sep 2005 06:04:39 +0100 Re: [gnupic] Different hex file generated by gpasm and mpasm, Chen Xiao Fan
Next in thread: 21 Sep 2005 06:04:39 +0100 Re: [gnupic] Different hex file generated by gpasm and mpasm, Craig Franklin

Subject: RE: [gnupic] Different hex file generated by gpasm and mpasm
From: Chen Xiao Fan ####@####.####
Date: 21 Sep 2005 06:04:39 +0100
Message-Id: <3B8AEFFADD3DD4118F8100508BACEC2C0A28922C@spex>

There should be an one-to-one relationship between the assembly 
source and the machine instruction and indeed there is.

I check the list file and find out they are indeed almost the same. 
The only difference is that the code section starts with 0x07 for
MPASM/MPLINK and 0x05 for the gpasm/gplink. There is two word
not used by MPASM/MPLINK, a bit strange. The linker scripts are 
exactly the same.

Regards,
Xiaofan

-----Original Message-----
From: Rob Hamerling
Sent: Tuesday, September 20, 2005 6:07 PM
To: ####@####.####
Subject: Re: [gnupic] Different hex file generated by gpasm and mpasm

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.

Previous by date: 21 Sep 2005 06:04:39 +0100 Re: [gnupic] xwisp2 1.7.01 released, Rob Hamerling
Next by date: 21 Sep 2005 06:04:39 +0100 Re: [gnupic] Pickit 2 under Linux, Chen Xiao Fan
Previous in thread: 21 Sep 2005 06:04:39 +0100 Re: [gnupic] Different hex file generated by gpasm and mpasm, Chen Xiao Fan
Next in thread: 21 Sep 2005 06:04:39 +0100 Re: [gnupic] Different hex file generated by gpasm and mpasm, Craig Franklin


Powered by ezmlm-browse 0.20.