Home » Personal collection » Acorn hard disk » files » DomFord » OldMand/temp3

OldMand/temp3

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Personal collection » Acorn hard disk » files » DomFord
Filename: OldMand/temp3
Read OK:
File size: 0A79 bytes
Load address: 0000
Exec address: 0000
Duplicates

There are 3 duplicate copies of this file in the archive:

File contents
   10REM ARM CODE MANDELBROT SET CALCULATION
   20:
   30ON ERROR REPORT:PRINT" @ ";ERL:END
   40MODE 15
   50PROCassemble
   60OSCLI ("MEMORYI "+STR$~space+" + C0"):END
   70PROCsetplot
   80END
   90:
  100DEFPROCsetplot
  110CALL setup
  120FOR B%=0 TO 1024 STEP 2
  130FOR C%=0 TO 1024 STEP 2
  140CALL mandpix
  150GCOL 0,(!output)+1
  160POINT B%,C%
  170NEXT,
  180ENDPROC
  190:
  200DEFPROCassemble
  210DIM space 1024
  220:
  230FOR p=0 TO 2 STEP 2
  240P%=space
  250[OPT p
  260\ MANDELBROT SET CALCULATION
  270\ R1=x |R2=y
  280:
  290\ F0=xpos
  300\ F1=ypos
  310\ F2=u
  320\ F3=v
  330:
  340.output EQUD 0
  350.mandpix         STMFD R13!,{R14}
  360                 MOV R11,#0
  370                 ADR R0,xmin                    \ Get X co-ordinate
  380EQUD &ECF00100 \ LDFE F0,[R0]
  390                 ADR R0,xstep
  400EQUD &ECF01100 \ LDFE F1,[R0]
  410EQUD &EE0711D7 \ FLTE F7,R1
  420EQUD &EE192107 \ MLFE F2,F1,F7
  430EQUD &EE0A2102 \ ADFE F0,F0,F2
  440:
  450EQUD &EE080102 \ ADFE F0,F0,F2
  460                 ADR R0,ymin                    \ Get Y co-ordinate
  470EQUD &ECF01100 \ LDFE F1,[R0]
  480                 ADR R0,ystep
  490EQUD &ECF02100 \ LDFE F2,[R0]
  500EQUD &EE0721D7 \ FLTE F7,R2
  510EQUD &EE1A3107 \ MLFE F3,F2,F7
  520:
  530EQUD &EE091103 \ ADFE F1,F1,F3
  540EQUD &EE08A100 \ MVFE F2,F0
  550EQUD &EE08B101\  MVFE F3,F1
  560.pixloop
  570EQUD &EE1A4102 \ MLFE F4,F2,F2        \ Finished?
  580EQUD &EE1B5103 \ MLFE F5,F3,F3
  590EQUD &EE0C6105 \ ADFE F6,F4,F5
  600EQUD &EED6F11C \ CMFE F6,#4           \ ???
  610                 BCS found
  620                 ADD R11,R11,#1
  630                 ADR R3,maxit
  640                 LDR R10,[R3]
  650                 CMP R11,R10
  660                 BEQ found
  670EQUD &EE2C6105 \ SBFE F6,F4,F5                \ u=u^2-v^2+x
  680EQUD &EE0E6100 \ ADFE F6,F6,F0
  690EQUD &EE1A4103 \ MLFE F4,F2,F3                \ v=2uv+y
  700EQUD &EE0C4104 \ ADFE F4,F4,F4
  710EQUD &EE0C4101 \ ADFE F4,F4,F1
  720EQUD &EE08A106 \ MVFE F2,F6
  730EQUD &EE08B104 \ MVFE F3,F4
  740                 B pixloop
  750:
  760.found
  770ADR R0,output
  780STR R11,[R0]
  790LDMFD R13!,{PC}
  800:
  810.setup
  820EQUD &EE088108 \ MVFE F0,#0
  830EQUD &EE28010A \ SBFE F0,F0,#2
  840                 ADR R0,xmin
  850EQUD &ECE00100 \ STFE F0,[R0]
  860                 ADR R0,ymin
  870EQUD &ECE00100 \ STFE F0,[R0]
  880EQUD &EE08910A \ MVFE F0,#2
  890EQUD &EE49010C \ DVFE F0,F0,#4
  900EQUD &EE48110C \ DVFE F0,F0,#4
  910EQUD &EE49010C \ DVFE F0,F0,#4
  920EQUD &EE48110C \ DVFE F0,F0,#4
  930\EQUD &EE49010C \ DVFE F0,F0,#2
  940                 ADR R0,xstep
  950EQUD &ECE00100 \ STFE F0,[R0]
  960                 ADR R0,ystep
  970EQUD &ECE00100 \ STFE F0,[R0]
  980                 MOV PC,R14
  990.xmin EQUD 0:EQUD0:EQUD0
 1000.ymin EQUD 0:EQUD0:EQUD0
 1010.xstep EQUD 0:EQUD0:EQUD0
 1020.ystep EQUD 0:EQUD0:EQUD0
 1030.maxit EQUD 25:EQUD0:EQUD0
 1040.stack
 1050]
 1060NEXT
 1070ENDPROC

)� ARM CODE MANDELBROT SET CALCULATION
:
� � �:�" @ ";�:�
(� 15
2
�assemble
<$� ("MEMORYI "+�~space+" + C0"):�
F�setplot
P�
Z:
d
��setplot
n� setup
x� B%=0 � 1024 � 2
�� C%=0 � 1024 � 2
�
� mandpix
�� 0,(!output)+1
�Ȓ B%,C%
��,
��
�:
���assemble
�� space 1024
�:
�� p=0 � 2 � 2
�P%=space
�
[OPT p
 \ MANDELBROT SET CALCULATION
\ R1=x |R2=y
:
"
\ F0=xpos
,
\ F1=ypos
6
\ F2=u
@
\ F3=v
J:
T.output EQUD 0
^%.mandpix         STMFD R13!,{R14}
h                 MOV R11,#0
rG                 ADR R0,xmin                    \ Get X co-ordinate
|!EQUD &ECF00100 \ LDFE F0,[R0]
�!                 ADR R0,xstep
�!EQUD &ECF01100 \ LDFE F1,[R0]
�EQUD &EE0711D7 \ FLTE F7,R1
�"EQUD &EE192107 \ MLFE F2,F1,F7
�"EQUD &EE0A2102 \ ADFE F0,F0,F2
�:
�"EQUD &EE080102 \ ADFE F0,F0,F2
�G                 ADR R0,ymin                    \ Get Y co-ordinate
�!EQUD &ECF01100 \ LDFE F1,[R0]
�!                 ADR R0,ystep
�!EQUD &ECF02100 \ LDFE F2,[R0]
�EQUD &EE0721D7 \ FLTE F7,R2
�"EQUD &EE1A3107 \ MLFE F3,F2,F7
:
"EQUD &EE091103 \ ADFE F1,F1,F3
EQUD &EE08A100 \ MVFE F2,F0
&EQUD &EE08B101\  MVFE F3,F1
0.pixloop
:5EQUD &EE1A4102 \ MLFE F4,F2,F2        \ Finished?
D"EQUD &EE1B5103 \ MLFE F5,F3,F3
N"EQUD &EE0C6105 \ ADFE F6,F4,F5
X/EQUD &EED6F11C \ CMFE F6,#4           \ ???
b                 BCS found
l#                 ADD R11,R11,#1
v!                 ADR R3,maxit
�!                 LDR R10,[R3]
�                  CMP R11,R10
�                 BEQ found
�?EQUD &EE2C6105 \ SBFE F6,F4,F5                \ u=u^2-v^2+x
�"EQUD &EE0E6100 \ ADFE F6,F6,F0
�;EQUD &EE1A4103 \ MLFE F4,F2,F3                \ v=2uv+y
�"EQUD &EE0C4104 \ ADFE F4,F4,F4
�"EQUD &EE0C4101 \ ADFE F4,F4,F1
�EQUD &EE08A106 \ MVFE F2,F6
�EQUD &EE08B104 \ MVFE F3,F4
�                 B pixloop
�:
�
.found
ADR R0,output
STR R11,[R0]
LDMFD R13!,{PC}
 :
*
.setup
4EQUD &EE088108 \ MVFE F0,#0
>"EQUD &EE28010A \ SBFE F0,F0,#2
H                  ADR R0,xmin
R!EQUD &ECE00100 \ STFE F0,[R0]
\                  ADR R0,ymin
f!EQUD &ECE00100 \ STFE F0,[R0]
pEQUD &EE08910A \ MVFE F0,#2
z"EQUD &EE49010C \ DVFE F0,F0,#4
�"EQUD &EE48110C \ DVFE F0,F0,#4
�"EQUD &EE49010C \ DVFE F0,F0,#4
�"EQUD &EE48110C \ DVFE F0,F0,#4
�#\EQUD &EE49010C \ DVFE F0,F0,#2
�!                 ADR R0,xstep
�!EQUD &ECE00100 \ STFE F0,[R0]
�!                 ADR R0,ystep
�!EQUD &ECE00100 \ STFE F0,[R0]
�                 MOV PC,R14
�.xmin EQUD 0:EQUD0:EQUD0
�.ymin EQUD 0:EQUD0:EQUD0
�.xstep EQUD 0:EQUD0:EQUD0
�.ystep EQUD 0:EQUD0:EQUD0
.maxit EQUD 25:EQUD0:EQUD0

.stack
]
$�
.�
�
00000000  0d 00 0a 29 f4 20 41 52  4d 20 43 4f 44 45 20 4d  |...). ARM CODE M|
00000010  41 4e 44 45 4c 42 52 4f  54 20 53 45 54 20 43 41  |ANDELBROT SET CA|
00000020  4c 43 55 4c 41 54 49 4f  4e 0d 00 14 05 3a 0d 00  |LCULATION....:..|
00000030  1e 14 ee 20 85 20 f6 3a  f1 22 20 40 20 22 3b 9e  |... . .:." @ ";.|
00000040  3a e0 0d 00 28 08 eb 20  31 35 0d 00 32 0d f2 61  |:...(.. 15..2..a|
00000050  73 73 65 6d 62 6c 65 0d  00 3c 24 ff 20 28 22 4d  |ssemble..<$. ("M|
00000060  45 4d 4f 52 59 49 20 22  2b c3 7e 73 70 61 63 65  |EMORYI "+.~space|
00000070  2b 22 20 2b 20 43 30 22  29 3a e0 0d 00 46 0c f2  |+" + C0"):...F..|
00000080  73 65 74 70 6c 6f 74 0d  00 50 05 e0 0d 00 5a 05  |setplot..P....Z.|
00000090  3a 0d 00 64 0d dd f2 73  65 74 70 6c 6f 74 0d 00  |:..d...setplot..|
000000a0  6e 0b d6 20 73 65 74 75  70 0d 00 78 15 e3 20 42  |n.. setup..x.. B|
000000b0  25 3d 30 20 b8 20 31 30  32 34 20 88 20 32 0d 00  |%=0 . 1024 . 2..|
000000c0  82 15 e3 20 43 25 3d 30  20 b8 20 31 30 32 34 20  |... C%=0 . 1024 |
000000d0  88 20 32 0d 00 8c 0d d6  20 6d 61 6e 64 70 69 78  |. 2..... mandpix|
000000e0  0d 00 96 13 e6 20 30 2c  28 21 6f 75 74 70 75 74  |..... 0,(!output|
000000f0  29 2b 31 0d 00 a0 0c c8  92 20 42 25 2c 43 25 0d  |)+1...... B%,C%.|
00000100  00 aa 06 ed 2c 0d 00 b4  05 e1 0d 00 be 05 3a 0d  |....,.........:.|
00000110  00 c8 0e dd f2 61 73 73  65 6d 62 6c 65 0d 00 d2  |.....assemble...|
00000120  10 de 20 73 70 61 63 65  20 31 30 32 34 0d 00 dc  |.. space 1024...|
00000130  05 3a 0d 00 e6 11 e3 20  70 3d 30 20 b8 20 32 20  |.:..... p=0 . 2 |
00000140  88 20 32 0d 00 f0 0c 50  25 3d 73 70 61 63 65 0d  |. 2....P%=space.|
00000150  00 fa 0a 5b 4f 50 54 20  70 0d 01 04 20 5c 20 4d  |...[OPT p... \ M|
00000160  41 4e 44 45 4c 42 52 4f  54 20 53 45 54 20 43 41  |ANDELBROT SET CA|
00000170  4c 43 55 4c 41 54 49 4f  4e 0d 01 0e 10 5c 20 52  |LCULATION....\ R|
00000180  31 3d 78 20 7c 52 32 3d  79 0d 01 18 05 3a 0d 01  |1=x |R2=y....:..|
00000190  22 0d 5c 20 46 30 3d 78  70 6f 73 0d 01 2c 0d 5c  |".\ F0=xpos..,.\|
000001a0  20 46 31 3d 79 70 6f 73  0d 01 36 0a 5c 20 46 32  | F1=ypos..6.\ F2|
000001b0  3d 75 0d 01 40 0a 5c 20  46 33 3d 76 0d 01 4a 05  |=u..@.\ F3=v..J.|
000001c0  3a 0d 01 54 12 2e 6f 75  74 70 75 74 20 45 51 55  |:..T..output EQU|
000001d0  44 20 30 0d 01 5e 25 2e  6d 61 6e 64 70 69 78 20  |D 0..^%.mandpix |
000001e0  20 20 20 20 20 20 20 20  53 54 4d 46 44 20 52 31  |        STMFD R1|
000001f0  33 21 2c 7b 52 31 34 7d  0d 01 68 1f 20 20 20 20  |3!,{R14}..h.    |
00000200  20 20 20 20 20 20 20 20  20 20 20 20 20 4d 4f 56  |             MOV|
00000210  20 52 31 31 2c 23 30 0d  01 72 47 20 20 20 20 20  | R11,#0..rG     |
00000220  20 20 20 20 20 20 20 20  20 20 20 20 41 44 52 20  |            ADR |
00000230  52 30 2c 78 6d 69 6e 20  20 20 20 20 20 20 20 20  |R0,xmin         |
00000240  20 20 20 20 20 20 20 20  20 20 20 5c 20 47 65 74  |           \ Get|
00000250  20 58 20 63 6f 2d 6f 72  64 69 6e 61 74 65 0d 01  | X co-ordinate..|
00000260  7c 21 45 51 55 44 20 26  45 43 46 30 30 31 30 30  ||!EQUD &ECF00100|
00000270  20 5c 20 4c 44 46 45 20  46 30 2c 5b 52 30 5d 0d  | \ LDFE F0,[R0].|
00000280  01 86 21 20 20 20 20 20  20 20 20 20 20 20 20 20  |..!             |
00000290  20 20 20 20 41 44 52 20  52 30 2c 78 73 74 65 70  |    ADR R0,xstep|
000002a0  0d 01 90 21 45 51 55 44  20 26 45 43 46 30 31 31  |...!EQUD &ECF011|
000002b0  30 30 20 5c 20 4c 44 46  45 20 46 31 2c 5b 52 30  |00 \ LDFE F1,[R0|
000002c0  5d 0d 01 9a 1f 45 51 55  44 20 26 45 45 30 37 31  |]....EQUD &EE071|
000002d0  31 44 37 20 5c 20 46 4c  54 45 20 46 37 2c 52 31  |1D7 \ FLTE F7,R1|
000002e0  0d 01 a4 22 45 51 55 44  20 26 45 45 31 39 32 31  |..."EQUD &EE1921|
000002f0  30 37 20 5c 20 4d 4c 46  45 20 46 32 2c 46 31 2c  |07 \ MLFE F2,F1,|
00000300  46 37 0d 01 ae 22 45 51  55 44 20 26 45 45 30 41  |F7..."EQUD &EE0A|
00000310  32 31 30 32 20 5c 20 41  44 46 45 20 46 30 2c 46  |2102 \ ADFE F0,F|
00000320  30 2c 46 32 0d 01 b8 05  3a 0d 01 c2 22 45 51 55  |0,F2....:..."EQU|
00000330  44 20 26 45 45 30 38 30  31 30 32 20 5c 20 41 44  |D &EE080102 \ AD|
00000340  46 45 20 46 30 2c 46 30  2c 46 32 0d 01 cc 47 20  |FE F0,F0,F2...G |
00000350  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000360  41 44 52 20 52 30 2c 79  6d 69 6e 20 20 20 20 20  |ADR R0,ymin     |
00000370  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 5c  |               \|
00000380  20 47 65 74 20 59 20 63  6f 2d 6f 72 64 69 6e 61  | Get Y co-ordina|
00000390  74 65 0d 01 d6 21 45 51  55 44 20 26 45 43 46 30  |te...!EQUD &ECF0|
000003a0  31 31 30 30 20 5c 20 4c  44 46 45 20 46 31 2c 5b  |1100 \ LDFE F1,[|
000003b0  52 30 5d 0d 01 e0 21 20  20 20 20 20 20 20 20 20  |R0]...!         |
000003c0  20 20 20 20 20 20 20 20  41 44 52 20 52 30 2c 79  |        ADR R0,y|
000003d0  73 74 65 70 0d 01 ea 21  45 51 55 44 20 26 45 43  |step...!EQUD &EC|
000003e0  46 30 32 31 30 30 20 5c  20 4c 44 46 45 20 46 32  |F02100 \ LDFE F2|
000003f0  2c 5b 52 30 5d 0d 01 f4  1f 45 51 55 44 20 26 45  |,[R0]....EQUD &E|
00000400  45 30 37 32 31 44 37 20  5c 20 46 4c 54 45 20 46  |E0721D7 \ FLTE F|
00000410  37 2c 52 32 0d 01 fe 22  45 51 55 44 20 26 45 45  |7,R2..."EQUD &EE|
00000420  31 41 33 31 30 37 20 5c  20 4d 4c 46 45 20 46 33  |1A3107 \ MLFE F3|
00000430  2c 46 32 2c 46 37 0d 02  08 05 3a 0d 02 12 22 45  |,F2,F7....:..."E|
00000440  51 55 44 20 26 45 45 30  39 31 31 30 33 20 5c 20  |QUD &EE091103 \ |
00000450  41 44 46 45 20 46 31 2c  46 31 2c 46 33 0d 02 1c  |ADFE F1,F1,F3...|
00000460  1f 45 51 55 44 20 26 45  45 30 38 41 31 30 30 20  |.EQUD &EE08A100 |
00000470  5c 20 4d 56 46 45 20 46  32 2c 46 30 0d 02 26 1f  |\ MVFE F2,F0..&.|
00000480  45 51 55 44 20 26 45 45  30 38 42 31 30 31 5c 20  |EQUD &EE08B101\ |
00000490  20 4d 56 46 45 20 46 33  2c 46 31 0d 02 30 0c 2e  | MVFE F3,F1..0..|
000004a0  70 69 78 6c 6f 6f 70 0d  02 3a 35 45 51 55 44 20  |pixloop..:5EQUD |
000004b0  26 45 45 31 41 34 31 30  32 20 5c 20 4d 4c 46 45  |&EE1A4102 \ MLFE|
000004c0  20 46 34 2c 46 32 2c 46  32 20 20 20 20 20 20 20  | F4,F2,F2       |
000004d0  20 5c 20 46 69 6e 69 73  68 65 64 3f 0d 02 44 22  | \ Finished?..D"|
000004e0  45 51 55 44 20 26 45 45  31 42 35 31 30 33 20 5c  |EQUD &EE1B5103 \|
000004f0  20 4d 4c 46 45 20 46 35  2c 46 33 2c 46 33 0d 02  | MLFE F5,F3,F3..|
00000500  4e 22 45 51 55 44 20 26  45 45 30 43 36 31 30 35  |N"EQUD &EE0C6105|
00000510  20 5c 20 41 44 46 45 20  46 36 2c 46 34 2c 46 35  | \ ADFE F6,F4,F5|
00000520  0d 02 58 2f 45 51 55 44  20 26 45 45 44 36 46 31  |..X/EQUD &EED6F1|
00000530  31 43 20 5c 20 43 4d 46  45 20 46 36 2c 23 34 20  |1C \ CMFE F6,#4 |
00000540  20 20 20 20 20 20 20 20  20 20 5c 20 3f 3f 3f 0d  |          \ ???.|
00000550  02 62 1e 20 20 20 20 20  20 20 20 20 20 20 20 20  |.b.             |
00000560  20 20 20 20 42 43 53 20  66 6f 75 6e 64 0d 02 6c  |    BCS found..l|
00000570  23 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |#               |
00000580  20 20 41 44 44 20 52 31  31 2c 52 31 31 2c 23 31  |  ADD R11,R11,#1|
00000590  0d 02 76 21 20 20 20 20  20 20 20 20 20 20 20 20  |..v!            |
000005a0  20 20 20 20 20 41 44 52  20 52 33 2c 6d 61 78 69  |     ADR R3,maxi|
000005b0  74 0d 02 80 21 20 20 20  20 20 20 20 20 20 20 20  |t...!           |
000005c0  20 20 20 20 20 20 4c 44  52 20 52 31 30 2c 5b 52  |      LDR R10,[R|
000005d0  33 5d 0d 02 8a 20 20 20  20 20 20 20 20 20 20 20  |3]...           |
000005e0  20 20 20 20 20 20 20 43  4d 50 20 52 31 31 2c 52  |       CMP R11,R|
000005f0  31 30 0d 02 94 1e 20 20  20 20 20 20 20 20 20 20  |10....          |
00000600  20 20 20 20 20 20 20 42  45 51 20 66 6f 75 6e 64  |       BEQ found|
00000610  0d 02 9e 3f 45 51 55 44  20 26 45 45 32 43 36 31  |...?EQUD &EE2C61|
00000620  30 35 20 5c 20 53 42 46  45 20 46 36 2c 46 34 2c  |05 \ SBFE F6,F4,|
00000630  46 35 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |F5              |
00000640  20 20 5c 20 75 3d 75 5e  32 2d 76 5e 32 2b 78 0d  |  \ u=u^2-v^2+x.|
00000650  02 a8 22 45 51 55 44 20  26 45 45 30 45 36 31 30  |.."EQUD &EE0E610|
00000660  30 20 5c 20 41 44 46 45  20 46 36 2c 46 36 2c 46  |0 \ ADFE F6,F6,F|
00000670  30 0d 02 b2 3b 45 51 55  44 20 26 45 45 31 41 34  |0...;EQUD &EE1A4|
00000680  31 30 33 20 5c 20 4d 4c  46 45 20 46 34 2c 46 32  |103 \ MLFE F4,F2|
00000690  2c 46 33 20 20 20 20 20  20 20 20 20 20 20 20 20  |,F3             |
000006a0  20 20 20 5c 20 76 3d 32  75 76 2b 79 0d 02 bc 22  |   \ v=2uv+y..."|
000006b0  45 51 55 44 20 26 45 45  30 43 34 31 30 34 20 5c  |EQUD &EE0C4104 \|
000006c0  20 41 44 46 45 20 46 34  2c 46 34 2c 46 34 0d 02  | ADFE F4,F4,F4..|
000006d0  c6 22 45 51 55 44 20 26  45 45 30 43 34 31 30 31  |."EQUD &EE0C4101|
000006e0  20 5c 20 41 44 46 45 20  46 34 2c 46 34 2c 46 31  | \ ADFE F4,F4,F1|
000006f0  0d 02 d0 1f 45 51 55 44  20 26 45 45 30 38 41 31  |....EQUD &EE08A1|
00000700  30 36 20 5c 20 4d 56 46  45 20 46 32 2c 46 36 0d  |06 \ MVFE F2,F6.|
00000710  02 da 1f 45 51 55 44 20  26 45 45 30 38 42 31 30  |...EQUD &EE08B10|
00000720  34 20 5c 20 4d 56 46 45  20 46 33 2c 46 34 0d 02  |4 \ MVFE F3,F4..|
00000730  e4 1e 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |..              |
00000740  20 20 20 42 20 70 69 78  6c 6f 6f 70 0d 02 ee 05  |   B pixloop....|
00000750  3a 0d 02 f8 0a 2e 66 6f  75 6e 64 0d 03 02 11 41  |:.....found....A|
00000760  44 52 20 52 30 2c 6f 75  74 70 75 74 0d 03 0c 10  |DR R0,output....|
00000770  53 54 52 20 52 31 31 2c  5b 52 30 5d 0d 03 16 13  |STR R11,[R0]....|
00000780  4c 44 4d 46 44 20 52 31  33 21 2c 7b 50 43 7d 0d  |LDMFD R13!,{PC}.|
00000790  03 20 05 3a 0d 03 2a 0a  2e 73 65 74 75 70 0d 03  |. .:..*..setup..|
000007a0  34 1f 45 51 55 44 20 26  45 45 30 38 38 31 30 38  |4.EQUD &EE088108|
000007b0  20 5c 20 4d 56 46 45 20  46 30 2c 23 30 0d 03 3e  | \ MVFE F0,#0..>|
000007c0  22 45 51 55 44 20 26 45  45 32 38 30 31 30 41 20  |"EQUD &EE28010A |
000007d0  5c 20 53 42 46 45 20 46  30 2c 46 30 2c 23 32 0d  |\ SBFE F0,F0,#2.|
000007e0  03 48 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |.H              |
000007f0  20 20 20 20 41 44 52 20  52 30 2c 78 6d 69 6e 0d  |    ADR R0,xmin.|
00000800  03 52 21 45 51 55 44 20  26 45 43 45 30 30 31 30  |.R!EQUD &ECE0010|
00000810  30 20 5c 20 53 54 46 45  20 46 30 2c 5b 52 30 5d  |0 \ STFE F0,[R0]|
00000820  0d 03 5c 20 20 20 20 20  20 20 20 20 20 20 20 20  |..\             |
00000830  20 20 20 20 20 41 44 52  20 52 30 2c 79 6d 69 6e  |     ADR R0,ymin|
00000840  0d 03 66 21 45 51 55 44  20 26 45 43 45 30 30 31  |..f!EQUD &ECE001|
00000850  30 30 20 5c 20 53 54 46  45 20 46 30 2c 5b 52 30  |00 \ STFE F0,[R0|
00000860  5d 0d 03 70 1f 45 51 55  44 20 26 45 45 30 38 39  |]..p.EQUD &EE089|
00000870  31 30 41 20 5c 20 4d 56  46 45 20 46 30 2c 23 32  |10A \ MVFE F0,#2|
00000880  0d 03 7a 22 45 51 55 44  20 26 45 45 34 39 30 31  |..z"EQUD &EE4901|
00000890  30 43 20 5c 20 44 56 46  45 20 46 30 2c 46 30 2c  |0C \ DVFE F0,F0,|
000008a0  23 34 0d 03 84 22 45 51  55 44 20 26 45 45 34 38  |#4..."EQUD &EE48|
000008b0  31 31 30 43 20 5c 20 44  56 46 45 20 46 30 2c 46  |110C \ DVFE F0,F|
000008c0  30 2c 23 34 0d 03 8e 22  45 51 55 44 20 26 45 45  |0,#4..."EQUD &EE|
000008d0  34 39 30 31 30 43 20 5c  20 44 56 46 45 20 46 30  |49010C \ DVFE F0|
000008e0  2c 46 30 2c 23 34 0d 03  98 22 45 51 55 44 20 26  |,F0,#4..."EQUD &|
000008f0  45 45 34 38 31 31 30 43  20 5c 20 44 56 46 45 20  |EE48110C \ DVFE |
00000900  46 30 2c 46 30 2c 23 34  0d 03 a2 23 5c 45 51 55  |F0,F0,#4...#\EQU|
00000910  44 20 26 45 45 34 39 30  31 30 43 20 5c 20 44 56  |D &EE49010C \ DV|
00000920  46 45 20 46 30 2c 46 30  2c 23 32 0d 03 ac 21 20  |FE F0,F0,#2...! |
00000930  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000940  41 44 52 20 52 30 2c 78  73 74 65 70 0d 03 b6 21  |ADR R0,xstep...!|
00000950  45 51 55 44 20 26 45 43  45 30 30 31 30 30 20 5c  |EQUD &ECE00100 \|
00000960  20 53 54 46 45 20 46 30  2c 5b 52 30 5d 0d 03 c0  | STFE F0,[R0]...|
00000970  21 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |!               |
00000980  20 20 41 44 52 20 52 30  2c 79 73 74 65 70 0d 03  |  ADR R0,ystep..|
00000990  ca 21 45 51 55 44 20 26  45 43 45 30 30 31 30 30  |.!EQUD &ECE00100|
000009a0  20 5c 20 53 54 46 45 20  46 30 2c 5b 52 30 5d 0d  | \ STFE F0,[R0].|
000009b0  03 d4 1f 20 20 20 20 20  20 20 20 20 20 20 20 20  |...             |
000009c0  20 20 20 20 4d 4f 56 20  50 43 2c 52 31 34 0d 03  |    MOV PC,R14..|
000009d0  de 1c 2e 78 6d 69 6e 20  45 51 55 44 20 30 3a 45  |...xmin EQUD 0:E|
000009e0  51 55 44 30 3a 45 51 55  44 30 0d 03 e8 1c 2e 79  |QUD0:EQUD0.....y|
000009f0  6d 69 6e 20 45 51 55 44  20 30 3a 45 51 55 44 30  |min EQUD 0:EQUD0|
00000a00  3a 45 51 55 44 30 0d 03  f2 1d 2e 78 73 74 65 70  |:EQUD0.....xstep|
00000a10  20 45 51 55 44 20 30 3a  45 51 55 44 30 3a 45 51  | EQUD 0:EQUD0:EQ|
00000a20  55 44 30 0d 03 fc 1d 2e  79 73 74 65 70 20 45 51  |UD0.....ystep EQ|
00000a30  55 44 20 30 3a 45 51 55  44 30 3a 45 51 55 44 30  |UD 0:EQUD0:EQUD0|
00000a40  0d 04 06 1e 2e 6d 61 78  69 74 20 45 51 55 44 20  |.....maxit EQUD |
00000a50  32 35 3a 45 51 55 44 30  3a 45 51 55 44 30 0d 04  |25:EQUD0:EQUD0..|
00000a60  10 0a 2e 73 74 61 63 6b  0d 04 1a 05 5d 0d 04 24  |...stack....]..$|
00000a70  05 ed 0d 04 2e 05 e1 0d  ff                       |.........|
00000a79