#ship debug : Debug
#ship fifo : Fifo
-#ship fifo2 : Fifo
debug.in:
- [*] take, deliver;
-
-fifo2.out:
- literal 2;
- load repeat counter with 1;
- wait;
- setflags a=c, b=b;
- [a] literal 1;
- [!a] literal 0;
- sendto debug.in;
+ send token to fifo.out:0;
+ set ilc=*; recv, deliver;
fifo.out:
- notify fifo2.out:0;
+ set word= 2;
+ set ilc=1;
+ recv token;
+ set flags a=c, b=b;
+ [a] set word= 1;
+ [!a] set word= 0;
+ send to debug.in;
+
+
+