Forum - MCS Electronics
View previous topic :: View next topic
Author
Message
Matrixx Joined: 30 Nov 2005 Posts: 158
Posted: Mon Feb 12, 2018 3:35 pm Post subject: Unknown statement in ver. 2.0.8.1
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
albertsm Joined: 09 Apr 2004 Posts: 5913 Location: Holland
Posted: Mon Feb 12, 2018 3:38 pm Post subject:
read the history notes concerning asm and ! _________________ Mark
Back to top
Matrixx Joined: 30 Nov 2005 Posts: 158
Posted: Mon Feb 12, 2018 6:05 pm Post subject:
It compiled now. Thanks Mark!
Back to top
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