Hi all

Is there anyone, who has some experience with the nice SOS from Oleg Skydan?
If yes, could you tell me, why I can't use any registers in a task or
interrupt routine?! What's the problem? Have you any idea?


--> in the Task, at the beginning of the endless loop:

for( ;; )
{

  Test = 0x0001;                        mov     #1,     &0x0204
  ShiftLeft = 2;                        mov     #2,     &0x0206
  Test = Test << ShiftLeft;     mov     &0x0204,r15
                                mov     &0x0206,0(r4)   <-- in r4 is the
value 0x0 ?!
                                mov     @r4,    r14
                                cmp     #0,     r14
                                jz      $+8
                                rla     r15
                                dec     r14
                                jnz     $-4
                                mov     r15,    &0x0204
  ShiftLeft = Test;             mov     &0x0204,&0x0206

  ...

Best regards
Rolf

Reply via email to