Relocatable Assembly Problem

Discussion created by mylim on Nov 23, 2008
Latest reply on Nov 27, 2008 by bigmac
Hi, I'm trying to set a self defined flag in my extended file but I can't read/write the status of the flag in my main.asm file.
My flag is define in the relocatable file .asm & export it in .inc file.
I include the .inc file in my main.asm.
I've attached the 3 files for your reference.
I use DS 1 byte for TPM1SR & TMRF as constant EQU $00.
I tried BSET TMRF,TPM1SR in S08_TPM1_tmr.asm
then I did a BRSET condition in MAIN_.asm I could get the condition set in S08_TPM1_tmr.asm.

Please advise. Thanks.


Message Edited by mingyee on 2008-11-23 02:20 PM