Need some help here …
SR9160 Smartstar 22Mhz 512KRam/Rom
DC9.62 compiler
anyone seen this error ???
Rabbit Help had no immediate guidance on this…But is working the problem…
line 2499 : ERROR DKCORE.LIB : Unrecognized token : “ld bc,__dkwatch+ >> @3”
The error seems to be pointing to ‘watch address’
DKCORE.LIB file
#asm root
; expects ix to contain address of watch address to add to table and
; a to contain the size of the watch being added. This function must be
; in root since xpc:ix point to a system buffer containing the watch to add
dkAddWatch::
ex af,af’
ld a,(dkWatchCount) ; don’t add a watch if the table is full
cp DK_MAX_WATCHES
ret z
bool hl
ld l,h
ld a,(dkWatchCount)
ld l,a
ex de,hl
; de = logical index into watch table
////////ERROR LINE //////////
ld bc,__dkwatch+@LENGTH
////////ERROR LINE //////////
ld hl,dkWatchTable
ld a,__dkwatch+Address
call dkGetStructMemberAddr ; hl = struct member address
ex de,hl