AnsweredAssumed Answered

ASSEMBLY LANGUAGE PROBLEM

Question asked by Ali Al-Shaybani on Oct 17, 2009
Latest reply on Oct 22, 2009 by CrasyCat
CANT RUN THIS !!! error in export symbols ????? can any one check it :smileysad: 
 
 
; Include derivative-specific definitions
            INCLUDE 'derivative.inc'

; export symbols
            XDEF Entry, _Startup, main
            ; we use export 'Entry' as symbol. This allows us to
            ; reference 'Entry' either in the linker .prm file
            ; or from C/C++ later on

            XREF __SEG_END_SSTACK      ; symbol defined by the linker for the end of the stack




; variable/data section
MY_EXTENDED_RAM: SECTION
; Insert here your data definition.
Counter     ds.w 1
FiboRes     ds.w 1


; code section
TAA   EQU   $800
TBB   EQU   $801

       LDAA  #100
       STAA  TAA
BACK   LDAA  #10
       STAA  TBB
HERE   DEC   TBB
       BNE   HERE
       DEC   TAA
       BNE   BACK
       RTS          

Outcomes