2007-12-17 01:19 AM
2007-12-15 04:10 AM
Hi.
I'm a new forum user and I would like to post this question: I was writing the program below for st72334: . . . BYTES segment 'ram0' 021 delay1 DS.B 1 022 delay2 DS.B 1 023 delay3 DS.B 1 024 punta DS.B 1 025 segmen DS.B 4 026 seg1 EQU (segmen+1) 027 seg2 EQU (segmen+2) 028 seg3 EQU (segmen+3) 029 seg4 EQU (segmen+4) . . . . Program end but the compilator generates the following errors: asm (026) error 67 IMPROPER CHARACTERS '+1)' asm (027) error 67 IMPROPER CHARACTERS '+2)' asm (028) error 67 IMPROPER CHARACTERS '+3)' asm (029) error 67 IMPROPER CHARACTERS '+4)' In the version of this program for st7lite, it works correctly. I think that something in syntax is changed from the two processors. Can you help me telling me where's the error?2007-12-15 08:10 PM
robacq,
the error is due to the round brackets. The right sintax for your expressions is: seg1 EQU {segmen+1} seg2 EQU {segmen+2} seg3 EQU {segmen+3} seg4 EQU {segmen+4} Regards, EtaPhi2007-12-17 01:19 AM
Thank you very much! I've done the correction and now it works properly! Thank you again! Bye!