Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Unknown statement in ver. 2.0.8.1

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR
View previous topic :: View next topic  
Author Message
Matrixx

Bascom Member



Joined: 30 Nov 2005
Posts: 152

mexico.gif
PostPosted: Mon Feb 12, 2018 3:35 pm    Post subject: Unknown statement in ver. 2.0.8.1 Reply with quote

Hello,

I'm trying to recompile a SD bootloader that used to work ok with version 2.0.7.9.
Now it shows:

"Unknown statement [LDS R30, {Z}] in file xxx"
"Unknown statement [LDS R31, {Z+1}] in file xxx"




Code:

   Bitwait Spmcsr.0 , Reset                                 ' check for previous SPM complete
   Bitwait Eecr.1 , Reset
                                      'wait for eeprom                          'add word
   lds r30,{Z}
   lds r31,{Z+1}

   #if _romsize > 65536
      lds r24,{Z+2}
      sts rampz,r24                                         'set rampz for chips with >64KB Flash
   #endif
 


Is this normal...?

(BASCOM-AVR version : 2.0.8.1 , Latest : 2.0.8.1 )
Back to top
View user's profile
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 4564
Location: Holland

blank.gif
PostPosted: Mon Feb 12, 2018 3:38 pm    Post subject: Reply with quote

read the history notes concerning asm and !
_________________
Best regards,

Mark Alberts
MCS Electronics

http://www.mcselec.com
Back to top
View user's profile Visit poster's website
Matrixx

Bascom Member



Joined: 30 Nov 2005
Posts: 152

mexico.gif
PostPosted: Mon Feb 12, 2018 6:05 pm    Post subject: Reply with quote

Shocked

It compiled now. Thanks Mark!
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum