AnsweredAssumed Answered

What is it magic of COSMIC?

Question asked by Vyacheslav Azarov on Dec 6, 2016
Latest reply on Dec 6, 2016 by Vyacheslav Azarov

Hello,

Very interested, why needs code what marked bold? In the documentation, this bit is designated as insignificant.

 

  163                     ; 28 __interrupt void _on_tick_(void)
 163                     ; 29 {
 164                            switch    .text
 165  0034             __on_tick_:
 167  0034 8a                push    cc
 168  0035 84                pop     a
 169  0036 a4bf              and     a,#191
 170  0038 88                push    a
 171  0039 86                pop     cc
 172  003a 3b0002            push    c_x+2
 173  003d be00              ldw     x,c_x

                             ...

Answer who knows, please.

Outcomes