== Ports ===========================================================
data in: in
+
data out: out
== Constants ========================================================
+
== TeX ==============================================================
+
+The {\tt Fifo} ship is a simple fifo. Word-sized delivered to the {\tt
+in} port are enqueued into the fifo, and values which arrive at the
+end of the fifo are provided to the {\tt out} port.
+
+The internal capacity of the fifo is unspecified, but guaranteed to be
+at least 16 words.
+
== Fleeterpreter ====================================================
private Queue<Long> fifo = new LinkedList<Long>();
public void service() {
fifo.in:
literal 9;
deliver;
- [100] take, deliver;
+ load repeat counter with 63;
+ take, deliver;
+ load repeat counter with 37;
+ take, deliver;
+
fifo.out:
- [99] take, sendto fifo.in;
- [1] take, sendto debug.in;
+ load repeat counter with 63;
+ take, sendto fifo.in;
+ load repeat counter with 36;
+ take, sendto fifo.in;
+ take, sendto debug.in;