PROBLEM WITH V=0.19B

Forum for the Open GPS Tracker

PROBLEM WITH V=0.19B

Postby fansel » Sun Jan 30, 2011 11:40 am

Hi mike am building the car security system intending to use ATMEGA88, GC864 module, in km/h ,m; but the AVR STUDIO 4 gives me the 2 errors and 3 warning:
; 26-27, 28-29, 30-31 are pointers

C:\Documents and Settings\Admin\My Documents\KM_H_M.asm(351): warning: Register r19 already defined by the .DEF directive

C:\Documents and Settings\Admin\My Documents\KM_H_M.asm(352): warning: Register r20 already defined by the .DEF directive
.def SCRATCH0 = r19
.def SCRATCH1 = r20
.def SCRATCH2 = r21
.def SCRATCH3 = r22
.def READ_FIELD = r19
.def PARSE_FIELD = r20
.def FIELD_LENGTH = r21
.def VERIFY_CHECKSUM = r12
#ifdef SERIAL_DEBUG
.def DEBUG_POINTER = r13
#endif

C:\Documents and Settings\Admin\My Documents\KM_H_M.asm(353): warning: Register r21 already defined by the .DEF directive

C:\Documents and Settings\Admin\My Documents\KM_H_M.asm(1688): error: ZL: Unknown instruction or macro
PPMN_CSMS_FINDFREE: ; search for unused field
ld SCRATCH1,Z
tst SCRATCH1 ; field used?
breq PPMN_CSMS_COPY
adiw ZH:ZL,4
dec SCRATCH0
breq PPMN_OUT
rjmp PPMN_CSMS_FINDFREE
;

C:\Documents and Settings\Admin\My Documents\KM_H_M.asm(1688): error: syntax error, unexpected ','

Assembly failed, 2 errors, 3 warnings


your assistance will be of great value thanks
fansel
 
Posts: 4
Joined: Thu May 14, 2009 3:38 pm

Return to General tracker discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron