AnsweredAssumed Answered

Option byte code for stm8 cosmic compiler

Question asked by saran raj on Oct 13, 2017
Latest reply on Oct 20, 2017 by pavel a

Hi,

 

                When i using Ride 7 with stm8 compiler , i will do this following code for option bytes only in assembly. Its working.

 

                But when i try with stvd with stm8 cosmic compiler,the following code is not working. How can i convert the following code for  stm8 cosmic compiler?

 

 

cseg at 04800h

 

db 000h ;LOCKBYTE   //Read out Bytes

 

db 000h ;OPT1

db 0FFh ;NOPT1

 

db 000h ;OPT2

db 0FFh ;NOPT2

 

db 000h ;OPT3

db 0FFh ;NOPT3

 

db 000h ;OPT4

db 0FFh ;NOPT4

 

db 000h ;OPT5

db 0FFh ;NOPT5

 

db 000h ;OPT6

db 0FFh ;NOPT6

 

db 000h ;OPT7

db 0FFh ;NOPT7

 

end

Outcomes