gnupic: differences in lcall macros


Previous by date: 22 Aug 2006 19:34:22 +0100 looking for pic compiler to use..., Jay Dagenais
Next by date: 22 Aug 2006 19:34:22 +0100 Newbie and sdcc & gputils, Juerg Haefliger
Previous in thread:
Next in thread:

Subject: differences in lcall macros
From: "Nestor A. Marchesini" ####@####.####
Date: 22 Aug 2006 19:34:22 +0100
Message-Id: <44EB5073.2010108@xinet.com.ar>

Hello
I have met a difference between MPLAB 7.01 and gpasm 0.13.4, in the macro
lcall, in this case it affected me because my code does checksum of all the
memory of program, originally it had done it with MPLAB, now change lcall
for mnemonic simple to change the bits of the register pclath of way of not
altering the original checksum of my code.

MPASM 03.90.01 Released
LOC   OBJET CODE       LINE
074A  158A  120A  2000 02713 lcall CheckSumPrograma1

It would be shaped for:

bsf  PCLATH,3
bcf  PCLATH,4
call CheckSumProgram1

gpasm-0.13.4 beta
LOC   OBJET CODE  LINE
074A  158A  2000  02713 lcall CheckSumPrograma1

It would be shaped for:

bsf  PCLATH,3
call CheckSumProgram1

Maybe the difference is because I am comparing with MPLAB version 7.01 and
in MPLAB's later versions this difference already does not exist.

Regards

NĂ©stor A. Marchesini
Chajari-Entre Rios-Argentina
ICQ # 50983752 colo
MSN ####@####.####
####@####.####
####@####.####
http://www.deselectronica.com.ar


Previous by date: 22 Aug 2006 19:34:22 +0100 looking for pic compiler to use..., Jay Dagenais
Next by date: 22 Aug 2006 19:34:22 +0100 Newbie and sdcc & gputils, Juerg Haefliger
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.