summaryrefslogtreecommitdiff
path: root/test.r1
blob: 557932de11ac6c88256280ab550197323cb77acb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
: sqrt
i loc1 sto
i loc1 sto
i mark2 dup
i loc0 sto
c /2
i loc1 sto
% loop
i loc0 lod
i loc1 lod
c newton
i dup loc1
c replace!
c thresh
c close?
b loop
i loc1 lod
i ret2

: newton
c tuck
c square
i add div
c /2
i ret0