SSR

Circular Shift Right with 1 priority.

Syntax

ssr [count]

Parameters

count
  • Decimal number from 2 to 100, tells how many times next command or block will be retried.

Example 0x00

sleeps 500 ; Set sleeps = 500 ms
 
0000000001110
 
CYCLE:     ; Define Label
 
ssr 3      ; Circular Shift Left with 1 priority.
nsr 3      ; Circular Shift Left with 0 priority.
 
goto CYCLE ; Infinite cycle
exssr.mlh_g.gif

Example SSL SSR NSL NSR

sleeps 500 ; Set sleeps = 500 ms
 
000001100000
 
CYCLE:     ; Define Label
 
try 2      ; Do block for 2 times
{
  ssl 2    ; Circular Shift Left with 1 priority.
  ssr 2    ; Circular Shift Right with 1 priority.
}
 
try 2      ; Do block for 2 times
{
  nsr 2    ; Circular Shift Right with 0 priority.
  nsl 2    ; Circular Shift Left with 0 priority.
}
 
goto CYCLE ; Infinite cycle
exssl1.mlh_g.gif
exssl1.mlv_c.gifexssl1.mlv_b.gifexssl1.mlv_r.gifexssl1.mlv_c.gifexssl1.mlv_b.gifexssl1.mlv_r.gif

Example 0x02 "Snake"

sleeps 500 ; Set sleeps = 500 ms
 
0000000001110
 
CYCLE:     ; Define Label
 
ssr 3      ; Circular Shift Left with 1 priority.
nsr 3      ; Circular Shift Left with 0 priority.
 
goto CYCLE ; Infinite cycle
exssr1.mlh_y.gif
exssr1.mr_g.gif