Code: Select all
//Zapis 60 sіуw z Bloku A do B z offsetem 0.0
A #PZapis
JNB NIC
L 0
LAR1
L P#0.0
LAR1
L 1
T #BuforProg
//Petelka do ustawienia sie na pozycji
RP: L #BuforProg
L #NumerPakiA
==I
JC RO
L P#60.0
+AR1
L 1
L #BuforProg
+I
T #BuforProg
JU RP
RO: L P#0.0
LAR2
L 1
T #BuforParam
//Wpisujemy z A do B
RR: OPN #BlokDB_A
L DBW [AR1,P#0.0]
OPN #BlokDB_B
T DBW [AR2,P#0.0]
L #BuforParam
L 30
==I
JC OK
L P#2.0
+AR1
+AR2
L #BuforParam
L 1
+I
T #BuforParam
JU RR
OK: R #PZapis
SET
CLR
NIC: NOP 0
Code: Select all
//Wpisujemy z A do B
RR: OPN #BlokDB_A
L DBW [AR1,P#0.0]
OPN #BlokDB_B
T DBW [AR2,P#0.0]
L #BuforParam
L 30
==I
JC OK
L P#2.0
+AR1
+AR2
L #BuforParam
L 1
+I
T #BuforParam
JU RR
OK: R #PZapis
SET
CLR
NIC: NOP 0