Home » CEEFAX disks » telesoftware16.adl » 02-07-89/SoundEx

02-07-89/SoundEx

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 » CEEFAX disks » telesoftware16.adl
Filename: 02-07-89/SoundEx
Read OK:
File size: 094B bytes
Load address: FFFF0E00
Exec address: FFFF802B
Duplicates

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

File contents
   10REM Soundex
   20REM by Carl Dunkley
   30REM (c) The Micro User
   40MODE7
   50PROCassemble
   60PROCdemo
   70END
   80:
   90DEF PROCdemo
  100LOCAL C%:RESTORE 520:READ Q%
  110FOR N%=1 TO Q%:CLS:try=0
  120PRINTTAB(12,0)CHR$141"Soundex"
  130PRINTTAB(12,1)CHR$141"Soundex"
  140PRINTTAB(0,4)"Question No.:";N%
  150PRINTTAB(0,5)"No. correct :";C%
  160READ q$,j$:a$=FNlo(j$)
  170PRINTTAB(0,11)q$
  180REPEAT try=try+1
  190PRINTTAB(0,14)SPC240
  200PRINTTAB(0,9)"No. of tries:";try
  210INPUTTAB(0,14)"Answer:"c$
  220c$=FNlo(c$):UNTIL FNright OR try=3
  230NEXT:PROCresults:ENDPROC
  240:
  250DEF FNright:Y%=16
  260IF c$=a$ PROCcorrect:=TRUE
  270IF try<3 IF FNsndx(c$)=FNsndx(a$) PROCtry_again:=FALSE
  280PROCwrong:=TRUE
  290:
  300DEF PROCspace
  310PRINTTAB(0,19)"Press space...";
  320REPEAT UNTIL GET=32:ENDPROC
  330:
  340DEF PROCresults
  350PRINTTAB(0,22)STRING$(40,"-");
  360PRINTTAB(0,23)"You scored ";C%" out of ";Q%
  370ENDPROC
  380:
  390DEF PROCcorrect
  400PRINTTAB(0,Y%)"That is correct!"
  410C%=C%+1:PROCspace:ENDPROC
  420:
  430DEF PROCtry_again
  440PRINTTAB(0,Y%)"Sounds like that, try again..."
  450PROCspace:ENDPROC
  460:
  470DEF PROCwrong
  480PRINTTAB(0,Y%)"That is wrong!"
  490PRINTTAB(0,Y%+2)"The answer is "j$
  500PROCspace:ENDPROC
  510:
  520DATA 6
  530DATA What is measured in watts,power
  540DATA What is the measurement unit of current,ampere
  550DATA What force makes a body move in a circular path,centripetal
  560DATA What is Kg an abbreviation for,kilogram
  570DATA What is the device used to step up or down voltages,transformer
  580DATA Who wrote the song 'Wow'?,Kate Bush
  590:
  600---------------------------------
  610:
  620DEF FNlo($str):LOCAL C%,L%
  630FOR L%=0 TO LEN$str-1:C%=str?L%
  640IF C%>64 IF C%<91 str?L%=C%+32
  650NEXT:=$str
  660:
  670DEFFNsndx($str):CALLsndx:=$str
  680:
  690DEFPROCassemble
  700code=&C00
  710DIM str 256
  720FOR L%=0 TO 2 STEP 2
  730P%=code:[OPT L%
  740.sndx
  750 LDY #0
  760.loop1
  770 LDA str,Y
  780 CMP #13
  790 BEQ remove_pairs
  800 ORA #32
  810 LDX #35
  820.loop2
  830 CMP table,X
  840 BNE not_found
  850 LDA table-1,X
  860 JMP set_code
  870.not_found
  880 DEX
  890 DEX
  900 BPL loop2
  910 LDA #48
  920.set_code
  930 STA str,Y
  940 INX
  950 INY
  960 JMP loop1
  970.remove_pairs
  980 LDY #0
  990 LDX #0
 1000.loop3
 1010 LDA str,Y
 1020 CMP #13
 1030 BEQ remove_zeroes
 1040 CMP str+1,Y
 1050 BNE nomatch
 1060 INY
 1070 JMP loop3
 1080.nomatch
 1090 INY
 1100 STA str,X
 1110 INX
 1120 JMP loop3
 1130.remove_zeroes
 1140 STA str,X
 1150 LDY #0
 1160 LDX #0
 1170.loop4
 1180 LDA str,Y
 1190 CMP #13
 1200 BEQ end
 1210 CMP #48
 1220 BNE not_zero
 1230 INY
 1240 JMP loop4
 1250.not_zero
 1260 STA str,X
 1270 INX
 1280 INY
 1290 JMP loop4
 1300.end
 1310 STA str,X
 1320 RTS
 1330\
 1340.table:]:NEXT
 1350RESTORE 1420
 1360READ noofgrps
 1370FOR N%=1 TO noofgrps:READ A$
 1380FOR M%=1 TO LENA$:?P%=N%
 1390P%?1=ASCMID$(A$,M%):P%=P%+2
 1400NEXT:NEXT:ENDPROC
 1410:
 1420DATA 6,bfpv,cgjkqsxz,dt,l,mn,r


� Soundex
� by Carl Dunkley
� (c) The Micro User
(�7
2
�assemble
<	�demo
F�
P:
Z� �demo
d� C%:� �THB:� Q%
n� N%=1 � Q%:�:try=0
x�12,0)�141"Soundex"
��12,1)�141"Soundex"
��0,4)"Question No.:";N%
��0,5)"No. correct :";C%
�� q$,j$:a$=�lo(j$)
�
�0,11)q$
�� try=try+1
��0,14)�240
��0,9)"No. of tries:";try
��0,14)"Answer:"c$
�c$=�lo(c$):� �right � try=3
��:�results:�
�:
�� �right:Y%=16
� c$=a$ �correct:=�
/� try<3 � �sndx(c$)=�sndx(a$) �try_again:=�

�wrong:=�
":
,� �space
6�0,19)"Press space...";
@� � �=32:�
J:
T� �results
^�0,22)�40,"-");
h(�0,23)"You scored ";C%" out of ";Q%
r�
|:
�� �correct
��0,Y%)"That is correct!"
�C%=C%+1:�space:�
�:
�� �try_again
�+�0,Y%)"Sounds like that, try again..."
��space:�
�:
�� �wrong
��0,Y%)"That is wrong!"
��0,Y%+2)"The answer is "j$
��space:�
�:
� 6
%� What is measured in watts,power
4� What is the measurement unit of current,ampere
&A� What force makes a body move in a circular path,centripetal
0-� What is Kg an abbreviation for,kilogram
:E� What is the device used to step up or down voltages,transformer
D)� Who wrote the song 'Wow'?,Kate Bush
N:
X%---------------------------------
b:
l� �lo($str):� C%,L%
v� L%=0 � �$str-1:C%=str?L%
� � C%>64 � C%<91 str?L%=C%+32
��:=$str
�:
�ݤsndx($str):�sndx:=$str
�:
���assemble
�
code=&C00
�
� str 256
�� L%=0 � 2 � 2
�P%=code:[OPT L%
�	.sndx
� LDY #0
�
.loop1
 LDA str,Y
 CMP #13
 BEQ remove_pairs
  �A #32
* LDX #35
4
.loop2
> CMP table,X
H BNE not_found
R LDA table-1,X
\ JMP set_code
f.not_found
p DEX
z DEX
� BPL loop2
� LDA #48
�
.set_code
� STA str,Y
� INX
� INY
� JMP loop1
�.remove_pairs
� LDY #0
� LDX #0
�
.loop3
� LDA str,Y
� CMP #13
 BEQ remove_zeroes
 CMP str+1,Y
 BNE nomatch
$ INY
. JMP loop3
8.nomatch
B INY
L STA str,X
V INX
` JMP loop3
j.remove_zeroes
t STA str,X
~ LDY #0
� LDX #0
�
.loop4
� LDA str,Y
� CMP #13
� BEQ end
� CMP #48
� BNE not_zero
� INY
� JMP loop4
�
.not_zero
� STA str,X
� INX
 INY

 JMP loop4
.end
 STA str,X
( RTS
2\
<.table:]:�
F
� �tLE
P� noofgrps
Z� N%=1 � noofgrps:� A$
d� M%=1 � �A$:?P%=N%
nP%?1=��A$,M%):P%=P%+2
x	�:�:�
�:
�� 6,bfpv,cgjkqsxz,dt,l,mn,r
�
00000000  0d 00 0a 0d f4 20 53 6f  75 6e 64 65 78 0d 00 14  |..... Soundex...|
00000010  15 f4 20 62 79 20 43 61  72 6c 20 44 75 6e 6b 6c  |.. by Carl Dunkl|
00000020  65 79 0d 00 1e 18 f4 20  28 63 29 20 54 68 65 20  |ey..... (c) The |
00000030  4d 69 63 72 6f 20 55 73  65 72 0d 00 28 06 eb 37  |Micro User..(..7|
00000040  0d 00 32 0d f2 61 73 73  65 6d 62 6c 65 0d 00 3c  |..2..assemble..<|
00000050  09 f2 64 65 6d 6f 0d 00  46 05 e0 0d 00 50 05 3a  |..demo..F....P.:|
00000060  0d 00 5a 0b dd 20 f2 64  65 6d 6f 0d 00 64 14 ea  |..Z.. .demo..d..|
00000070  20 43 25 3a f7 20 8d 54  48 42 3a f3 20 51 25 0d  | C%:. .THB:. Q%.|
00000080  00 6e 17 e3 20 4e 25 3d  31 20 b8 20 51 25 3a db  |.n.. N%=1 . Q%:.|
00000090  3a 74 72 79 3d 30 0d 00  78 18 f1 8a 31 32 2c 30  |:try=0..x...12,0|
000000a0  29 bd 31 34 31 22 53 6f  75 6e 64 65 78 22 0d 00  |).141"Soundex"..|
000000b0  82 18 f1 8a 31 32 2c 31  29 bd 31 34 31 22 53 6f  |....12,1).141"So|
000000c0  75 6e 64 65 78 22 0d 00  8c 1c f1 8a 30 2c 34 29  |undex"......0,4)|
000000d0  22 51 75 65 73 74 69 6f  6e 20 4e 6f 2e 3a 22 3b  |"Question No.:";|
000000e0  4e 25 0d 00 96 1c f1 8a  30 2c 35 29 22 4e 6f 2e  |N%......0,5)"No.|
000000f0  20 63 6f 72 72 65 63 74  20 3a 22 3b 43 25 0d 00  | correct :";C%..|
00000100  a0 16 f3 20 71 24 2c 6a  24 3a 61 24 3d a4 6c 6f  |... q$,j$:a$=.lo|
00000110  28 6a 24 29 0d 00 aa 0d  f1 8a 30 2c 31 31 29 71  |(j$)......0,11)q|
00000120  24 0d 00 b4 0f f5 20 74  72 79 3d 74 72 79 2b 31  |$..... try=try+1|
00000130  0d 00 be 0f f1 8a 30 2c  31 34 29 89 32 34 30 0d  |......0,14).240.|
00000140  00 c8 1d f1 8a 30 2c 39  29 22 4e 6f 2e 20 6f 66  |.....0,9)"No. of|
00000150  20 74 72 69 65 73 3a 22  3b 74 72 79 0d 00 d2 16  | tries:";try....|
00000160  e8 8a 30 2c 31 34 29 22  41 6e 73 77 65 72 3a 22  |..0,14)"Answer:"|
00000170  63 24 0d 00 dc 1f 63 24  3d a4 6c 6f 28 63 24 29  |c$....c$=.lo(c$)|
00000180  3a fd 20 a4 72 69 67 68  74 20 84 20 74 72 79 3d  |:. .right . try=|
00000190  33 0d 00 e6 10 ed 3a f2  72 65 73 75 6c 74 73 3a  |3.....:.results:|
000001a0  e1 0d 00 f0 05 3a 0d 00  fa 12 dd 20 a4 72 69 67  |.....:..... .rig|
000001b0  68 74 3a 59 25 3d 31 36  0d 01 04 17 e7 20 63 24  |ht:Y%=16..... c$|
000001c0  3d 61 24 20 f2 63 6f 72  72 65 63 74 3a 3d b9 0d  |=a$ .correct:=..|
000001d0  01 0e 2f e7 20 74 72 79  3c 33 20 e7 20 a4 73 6e  |../. try<3 . .sn|
000001e0  64 78 28 63 24 29 3d a4  73 6e 64 78 28 61 24 29  |dx(c$)=.sndx(a$)|
000001f0  20 f2 74 72 79 5f 61 67  61 69 6e 3a 3d a3 0d 01  | .try_again:=...|
00000200  18 0d f2 77 72 6f 6e 67  3a 3d b9 0d 01 22 05 3a  |...wrong:=...".:|
00000210  0d 01 2c 0c dd 20 f2 73  70 61 63 65 0d 01 36 1c  |..,.. .space..6.|
00000220  f1 8a 30 2c 31 39 29 22  50 72 65 73 73 20 73 70  |..0,19)"Press sp|
00000230  61 63 65 2e 2e 2e 22 3b  0d 01 40 0e f5 20 fd 20  |ace...";..@.. . |
00000240  a5 3d 33 32 3a e1 0d 01  4a 05 3a 0d 01 54 0e dd  |.=32:...J.:..T..|
00000250  20 f2 72 65 73 75 6c 74  73 0d 01 5e 14 f1 8a 30  | .results..^...0|
00000260  2c 32 32 29 c4 34 30 2c  22 2d 22 29 3b 0d 01 68  |,22).40,"-");..h|
00000270  28 f1 8a 30 2c 32 33 29  22 59 6f 75 20 73 63 6f  |(..0,23)"You sco|
00000280  72 65 64 20 22 3b 43 25  22 20 6f 75 74 20 6f 66  |red ";C%" out of|
00000290  20 22 3b 51 25 0d 01 72  05 e1 0d 01 7c 05 3a 0d  | ";Q%..r....|.:.|
000002a0  01 86 0e dd 20 f2 63 6f  72 72 65 63 74 0d 01 90  |.... .correct...|
000002b0  1d f1 8a 30 2c 59 25 29  22 54 68 61 74 20 69 73  |...0,Y%)"That is|
000002c0  20 63 6f 72 72 65 63 74  21 22 0d 01 9a 14 43 25  | correct!"....C%|
000002d0  3d 43 25 2b 31 3a f2 73  70 61 63 65 3a e1 0d 01  |=C%+1:.space:...|
000002e0  a4 05 3a 0d 01 ae 10 dd  20 f2 74 72 79 5f 61 67  |..:..... .try_ag|
000002f0  61 69 6e 0d 01 b8 2b f1  8a 30 2c 59 25 29 22 53  |ain...+..0,Y%)"S|
00000300  6f 75 6e 64 73 20 6c 69  6b 65 20 74 68 61 74 2c  |ounds like that,|
00000310  20 74 72 79 20 61 67 61  69 6e 2e 2e 2e 22 0d 01  | try again..."..|
00000320  c2 0c f2 73 70 61 63 65  3a e1 0d 01 cc 05 3a 0d  |...space:.....:.|
00000330  01 d6 0c dd 20 f2 77 72  6f 6e 67 0d 01 e0 1b f1  |.... .wrong.....|
00000340  8a 30 2c 59 25 29 22 54  68 61 74 20 69 73 20 77  |.0,Y%)"That is w|
00000350  72 6f 6e 67 21 22 0d 01  ea 1f f1 8a 30 2c 59 25  |rong!"......0,Y%|
00000360  2b 32 29 22 54 68 65 20  61 6e 73 77 65 72 20 69  |+2)"The answer i|
00000370  73 20 22 6a 24 0d 01 f4  0c f2 73 70 61 63 65 3a  |s "j$.....space:|
00000380  e1 0d 01 fe 05 3a 0d 02  08 07 dc 20 36 0d 02 12  |.....:..... 6...|
00000390  25 dc 20 57 68 61 74 20  69 73 20 6d 65 61 73 75  |%. What is measu|
000003a0  72 65 64 20 69 6e 20 77  61 74 74 73 2c 70 6f 77  |red in watts,pow|
000003b0  65 72 0d 02 1c 34 dc 20  57 68 61 74 20 69 73 20  |er...4. What is |
000003c0  74 68 65 20 6d 65 61 73  75 72 65 6d 65 6e 74 20  |the measurement |
000003d0  75 6e 69 74 20 6f 66 20  63 75 72 72 65 6e 74 2c  |unit of current,|
000003e0  61 6d 70 65 72 65 0d 02  26 41 dc 20 57 68 61 74  |ampere..&A. What|
000003f0  20 66 6f 72 63 65 20 6d  61 6b 65 73 20 61 20 62  | force makes a b|
00000400  6f 64 79 20 6d 6f 76 65  20 69 6e 20 61 20 63 69  |ody move in a ci|
00000410  72 63 75 6c 61 72 20 70  61 74 68 2c 63 65 6e 74  |rcular path,cent|
00000420  72 69 70 65 74 61 6c 0d  02 30 2d dc 20 57 68 61  |ripetal..0-. Wha|
00000430  74 20 69 73 20 4b 67 20  61 6e 20 61 62 62 72 65  |t is Kg an abbre|
00000440  76 69 61 74 69 6f 6e 20  66 6f 72 2c 6b 69 6c 6f  |viation for,kilo|
00000450  67 72 61 6d 0d 02 3a 45  dc 20 57 68 61 74 20 69  |gram..:E. What i|
00000460  73 20 74 68 65 20 64 65  76 69 63 65 20 75 73 65  |s the device use|
00000470  64 20 74 6f 20 73 74 65  70 20 75 70 20 6f 72 20  |d to step up or |
00000480  64 6f 77 6e 20 76 6f 6c  74 61 67 65 73 2c 74 72  |down voltages,tr|
00000490  61 6e 73 66 6f 72 6d 65  72 0d 02 44 29 dc 20 57  |ansformer..D). W|
000004a0  68 6f 20 77 72 6f 74 65  20 74 68 65 20 73 6f 6e  |ho wrote the son|
000004b0  67 20 27 57 6f 77 27 3f  2c 4b 61 74 65 20 42 75  |g 'Wow'?,Kate Bu|
000004c0  73 68 0d 02 4e 05 3a 0d  02 58 25 2d 2d 2d 2d 2d  |sh..N.:..X%-----|
000004d0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
000004e0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 0d 02 62 05  |------------..b.|
000004f0  3a 0d 02 6c 17 dd 20 a4  6c 6f 28 24 73 74 72 29  |:..l.. .lo($str)|
00000500  3a ea 20 43 25 2c 4c 25  0d 02 76 1e e3 20 4c 25  |:. C%,L%..v.. L%|
00000510  3d 30 20 b8 20 a9 24 73  74 72 2d 31 3a 43 25 3d  |=0 . .$str-1:C%=|
00000520  73 74 72 3f 4c 25 0d 02  80 20 e7 20 43 25 3e 36  |str?L%... . C%>6|
00000530  34 20 e7 20 43 25 3c 39  31 20 73 74 72 3f 4c 25  |4 . C%<91 str?L%|
00000540  3d 43 25 2b 33 32 0d 02  8a 0b ed 3a 3d 24 73 74  |=C%+32.....:=$st|
00000550  72 0d 02 94 05 3a 0d 02  9e 1c dd a4 73 6e 64 78  |r....:......sndx|
00000560  28 24 73 74 72 29 3a d6  73 6e 64 78 3a 3d 24 73  |($str):.sndx:=$s|
00000570  74 72 0d 02 a8 05 3a 0d  02 b2 0e dd f2 61 73 73  |tr....:......ass|
00000580  65 6d 62 6c 65 0d 02 bc  0d 63 6f 64 65 3d 26 43  |emble....code=&C|
00000590  30 30 0d 02 c6 0d de 20  73 74 72 20 32 35 36 0d  |00..... str 256.|
000005a0  02 d0 12 e3 20 4c 25 3d  30 20 b8 20 32 20 88 20  |.... L%=0 . 2 . |
000005b0  32 0d 02 da 13 50 25 3d  63 6f 64 65 3a 5b 4f 50  |2....P%=code:[OP|
000005c0  54 20 4c 25 0d 02 e4 09  2e 73 6e 64 78 0d 02 ee  |T L%.....sndx...|
000005d0  0b 20 4c 44 59 20 23 30  0d 02 f8 0a 2e 6c 6f 6f  |. LDY #0.....loo|
000005e0  70 31 0d 03 02 0e 20 4c  44 41 20 73 74 72 2c 59  |p1.... LDA str,Y|
000005f0  0d 03 0c 0c 20 43 4d 50  20 23 31 33 0d 03 16 15  |.... CMP #13....|
00000600  20 42 45 51 20 72 65 6d  6f 76 65 5f 70 61 69 72  | BEQ remove_pair|
00000610  73 0d 03 20 0b 20 84 41  20 23 33 32 0d 03 2a 0c  |s.. . .A #32..*.|
00000620  20 4c 44 58 20 23 33 35  0d 03 34 0a 2e 6c 6f 6f  | LDX #35..4..loo|
00000630  70 32 0d 03 3e 10 20 43  4d 50 20 74 61 62 6c 65  |p2..>. CMP table|
00000640  2c 58 0d 03 48 12 20 42  4e 45 20 6e 6f 74 5f 66  |,X..H. BNE not_f|
00000650  6f 75 6e 64 0d 03 52 12  20 4c 44 41 20 74 61 62  |ound..R. LDA tab|
00000660  6c 65 2d 31 2c 58 0d 03  5c 11 20 4a 4d 50 20 73  |le-1,X..\. JMP s|
00000670  65 74 5f 63 6f 64 65 0d  03 66 0e 2e 6e 6f 74 5f  |et_code..f..not_|
00000680  66 6f 75 6e 64 0d 03 70  08 20 44 45 58 0d 03 7a  |found..p. DEX..z|
00000690  08 20 44 45 58 0d 03 84  0e 20 42 50 4c 20 6c 6f  |. DEX.... BPL lo|
000006a0  6f 70 32 0d 03 8e 0c 20  4c 44 41 20 23 34 38 0d  |op2.... LDA #48.|
000006b0  03 98 0d 2e 73 65 74 5f  63 6f 64 65 0d 03 a2 0e  |....set_code....|
000006c0  20 53 54 41 20 73 74 72  2c 59 0d 03 ac 08 20 49  | STA str,Y.... I|
000006d0  4e 58 0d 03 b6 08 20 49  4e 59 0d 03 c0 0e 20 4a  |NX.... INY.... J|
000006e0  4d 50 20 6c 6f 6f 70 31  0d 03 ca 11 2e 72 65 6d  |MP loop1.....rem|
000006f0  6f 76 65 5f 70 61 69 72  73 0d 03 d4 0b 20 4c 44  |ove_pairs.... LD|
00000700  59 20 23 30 0d 03 de 0b  20 4c 44 58 20 23 30 0d  |Y #0.... LDX #0.|
00000710  03 e8 0a 2e 6c 6f 6f 70  33 0d 03 f2 0e 20 4c 44  |....loop3.... LD|
00000720  41 20 73 74 72 2c 59 0d  03 fc 0c 20 43 4d 50 20  |A str,Y.... CMP |
00000730  23 31 33 0d 04 06 16 20  42 45 51 20 72 65 6d 6f  |#13.... BEQ remo|
00000740  76 65 5f 7a 65 72 6f 65  73 0d 04 10 10 20 43 4d  |ve_zeroes.... CM|
00000750  50 20 73 74 72 2b 31 2c  59 0d 04 1a 10 20 42 4e  |P str+1,Y.... BN|
00000760  45 20 6e 6f 6d 61 74 63  68 0d 04 24 08 20 49 4e  |E nomatch..$. IN|
00000770  59 0d 04 2e 0e 20 4a 4d  50 20 6c 6f 6f 70 33 0d  |Y.... JMP loop3.|
00000780  04 38 0c 2e 6e 6f 6d 61  74 63 68 0d 04 42 08 20  |.8..nomatch..B. |
00000790  49 4e 59 0d 04 4c 0e 20  53 54 41 20 73 74 72 2c  |INY..L. STA str,|
000007a0  58 0d 04 56 08 20 49 4e  58 0d 04 60 0e 20 4a 4d  |X..V. INX..`. JM|
000007b0  50 20 6c 6f 6f 70 33 0d  04 6a 12 2e 72 65 6d 6f  |P loop3..j..remo|
000007c0  76 65 5f 7a 65 72 6f 65  73 0d 04 74 0e 20 53 54  |ve_zeroes..t. ST|
000007d0  41 20 73 74 72 2c 58 0d  04 7e 0b 20 4c 44 59 20  |A str,X..~. LDY |
000007e0  23 30 0d 04 88 0b 20 4c  44 58 20 23 30 0d 04 92  |#0.... LDX #0...|
000007f0  0a 2e 6c 6f 6f 70 34 0d  04 9c 0e 20 4c 44 41 20  |..loop4.... LDA |
00000800  73 74 72 2c 59 0d 04 a6  0c 20 43 4d 50 20 23 31  |str,Y.... CMP #1|
00000810  33 0d 04 b0 0c 20 42 45  51 20 65 6e 64 0d 04 ba  |3.... BEQ end...|
00000820  0c 20 43 4d 50 20 23 34  38 0d 04 c4 11 20 42 4e  |. CMP #48.... BN|
00000830  45 20 6e 6f 74 5f 7a 65  72 6f 0d 04 ce 08 20 49  |E not_zero.... I|
00000840  4e 59 0d 04 d8 0e 20 4a  4d 50 20 6c 6f 6f 70 34  |NY.... JMP loop4|
00000850  0d 04 e2 0d 2e 6e 6f 74  5f 7a 65 72 6f 0d 04 ec  |.....not_zero...|
00000860  0e 20 53 54 41 20 73 74  72 2c 58 0d 04 f6 08 20  |. STA str,X.... |
00000870  49 4e 58 0d 05 00 08 20  49 4e 59 0d 05 0a 0e 20  |INX.... INY.... |
00000880  4a 4d 50 20 6c 6f 6f 70  34 0d 05 14 08 2e 65 6e  |JMP loop4.....en|
00000890  64 0d 05 1e 0e 20 53 54  41 20 73 74 72 2c 58 0d  |d.... STA str,X.|
000008a0  05 28 08 20 52 54 53 0d  05 32 05 5c 0d 05 3c 0e  |.(. RTS..2.\..<.|
000008b0  2e 74 61 62 6c 65 3a 5d  3a ed 0d 05 46 0a f7 20  |.table:]:...F.. |
000008c0  8d 74 4c 45 0d 05 50 0e  f3 20 6e 6f 6f 66 67 72  |.tLE..P.. noofgr|
000008d0  70 73 0d 05 5a 1a e3 20  4e 25 3d 31 20 b8 20 6e  |ps..Z.. N%=1 . n|
000008e0  6f 6f 66 67 72 70 73 3a  f3 20 41 24 0d 05 64 17  |oofgrps:. A$..d.|
000008f0  e3 20 4d 25 3d 31 20 b8  20 a9 41 24 3a 3f 50 25  |. M%=1 . .A$:?P%|
00000900  3d 4e 25 0d 05 6e 19 50  25 3f 31 3d 97 c1 41 24  |=N%..n.P%?1=..A$|
00000910  2c 4d 25 29 3a 50 25 3d  50 25 2b 32 0d 05 78 09  |,M%):P%=P%+2..x.|
00000920  ed 3a ed 3a e1 0d 05 82  05 3a 0d 05 8c 1f dc 20  |.:.:.....:..... |
00000930  36 2c 62 66 70 76 2c 63  67 6a 6b 71 73 78 7a 2c  |6,bfpv,cgjkqsxz,|
00000940  64 74 2c 6c 2c 6d 6e 2c  72 0d ff                 |dt,l,mn,r..|
0000094b
02-07-89/SoundEx.m0
02-07-89/SoundEx.m1
02-07-89/SoundEx.m2
02-07-89/SoundEx.m4
02-07-89/SoundEx.m5