File 200 contains exactly one number, N. Create a new file in the outbox containing the numbers N through 0 in decreasing order. When you are finished, delete file 200.
For help completing this task see "Ghast Walks U Thru It" in the first issue of the zine.
XA (global)
LINK 800
GRAB 200
COPY F T
WIPE
LINK 800
MAKE
COPY T F
MARK LOOP
SUBI T 1 T
COPY T F
; TEST X = -1
TJMP LOOP
; DROP
; HALT
Cycles | Size | Activity |
---|---|---|
305 | 11 | 2 |