September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
13
Task/Loops-Downward-for/Dc/loops-downward-for-1.dc
Normal file
13
Task/Loops-Downward-for/Dc/loops-downward-for-1.dc
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
c
|
||||
|
||||
[macro s(swap) - (a b : b a)]s.
|
||||
[Sa Sb La Lb] ss
|
||||
|
||||
[macro d(2dup) - (a b : a b a b)]s.
|
||||
[Sa d Sb La d Lb lsx] sd
|
||||
|
||||
[macro m(for) - ]s.
|
||||
[lfx 1 - ldx !<m ] sm
|
||||
|
||||
0 10 ldx [p] sf !<m
|
||||
q
|
||||
5
Task/Loops-Downward-for/Dc/loops-downward-for-2.dc
Normal file
5
Task/Loops-Downward-for/Dc/loops-downward-for-2.dc
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
|dc < ./for.dc
|
||||
10
|
||||
9
|
||||
...
|
||||
0
|
||||
Loading…
Add table
Add a link
Reference in a new issue