LD SM0.0
LPS
AW<= LW0, +32000
AW>= LW0, +6400
MOVW LW0, AC0
LRD
AW< LW0, +6400
MOVW +6400, AC0
LRD
AW> LW0, +32000
MOVW +32000, AC0
LRD
ITD AC0, AC0
LRD
DTR AC0, AC0
LRD
-R 6400.0, AC0
LRD
MOVR AC0, LD23
/R 25600.0, LD23
LRD
MOVR LD6, LD27
-R LD2, LD27
LRD
*R LD23, LD27
LRD
MOVR LD27, LD18
+R LD2, LD18
LRD
AR> LD18, LD14
= L22.1
LPP
AR< LD18, LD10
= L22.0