}VWC1 DOCõªWC1 OBJõªWC1 AQM# >WC1.COM DOCUMENTATION FILE By B.A.Hacker WC1 is almost the same as WC.COM except WC1 ignores lines beginning with ".". This prevents dot commands from being counted as words. Also I found and corrected a small error at the beginning of MLOOP. WC will give a slightly larger count than WC1 because of this. Comprre ASM files for details. WC.Doc follows: Documentation file (23 lines) for WC (Word Counter program) David Coons (CIS [72435,136]) February, 1984 ---------------------------------------------------------------------- My wife writes short stories, and was in need of a way to get an approximate word count of a WordStar file. To my delight, in K&R ("The C Programming Language", BW Kernighan and DM Ritchie, Englewood Cliffs, NJ: Prentice-Hall, 1978, page 18) I found a simple word count algorithm, which I converted to 8080 assembler code. It's not fancy, but it works. It does need one feature to work better with WordStar files, however: ignore all lines beginning with a "." (e.g., .MT 6). WC counts words in any text file, and displays the count on the console in the form, "File contains 00000 words". A word is defined as any character sequence surrounded by 'white space' (i.e., spaces, tabs, carriage returns, or line feeds. (WC will ignore the high order bit in all file characters.) To run WC, simply type: WC filename.ext WC cannot process wildcard filenames (e.g., WC B:*.TXT is illegal). As far as performance goes, a 3200-word file took approximately seven seconds, including the one or two seconds CP/M took to load the WC program. WC1.COM DOCUMENTATION FILE By B.A.Hacker WC1 is almost the same as WC.COM except WC1 ignores lines beginning with ".". This prevents dot commands from being counted as words. Also I found and corrected a small error at the beginning of MLOOP. WC will give a slightly larger count than WC1 because of this. Comprre ASM files for details. WC.Doc follows: Documentation file (23 lines) for WC (Word Counter program) David Coons (CIS [72435,136]) February, 1984 ---------------------------------------------------------------------- My wife writes short stories, and was in need of a way to get an approximate word count of a WordStar file. To my delight, in K&R ("The C Programming Language", BW Kernighan and DM Ritchie, Englewood Cliffs, NJ: Prentice-Hall, 1978, page 18) I found a simple word count algorithm, which I converted to 8080 assembler code. It's not fancy, but it works. It does need one feature to work better with WordStar files, however: ignore all lines beginning with a "." (e.g., .MT 6). WC counts words in any text file, and displays the count on the console in the form, "File contains 00000 words". A word is defined as any character sequence surrounded by 'white space' (i.e., spaces, tabs, carriage returns, or line feeds. (WC will ignore the high order bit in all file characters.) To run WC, simply type: WC filename.ext WC cannot process wildcard filenames (e.g., WC B:*.TXT is illegal). As far as performance goes, a 3200-word file took approximately seven seconds, including the one or two seconds CP/M took to load the WC program. vÿr&WC1.ASM?öÿ ßÿºÿ°ÿ­ÿ«ÿõÿòÿ¶ÿ¾ÿ»ÿ±ÿ¬ÿ³ÿ¼ÿÄÿ²ÿ¹ÿªÿ½ÿ¯ÿÓÿ·ÿ !"#$%©ÿ¸ÿ¨ÿÏÿÎÿ§ÿØÿÅÿ&'()*+,-¦ÿµÿ®ÿ¥ÿ´ÿÍÿÀÿoÿÑÿ×ÿÖÿÉÿÒÿ./0ÆÿÇÿ1234ÌÿÛÿ56789:ÔÿÊÿûÿÝÿÂÿËÿÈÿúÿ;<=>øÿ÷ÿåÿÜÿÐÿ¤ÿ¢ÿÿþ 'ªôA�2u"ú<‰Fª2“aýr¶!†ƒ�TER¦Ïê3ýï¿^ÿùÇ_·Ëßÿ÷ålÃáòq¦Á‹Î tùõûŸÎ6gÂ’�†jœmøyÿOgˆ¨ÊL&ÓI4fò‰Bz á SH‘¢Ïk ÙÙ†*3’DUÒ�|"³3 ÑN¾0UI&ø”�m8¿ÿ›N¢1üýƒ(ÐI4’ÏyøÄ‘B¦�œm¨{ÐP +e~šœ*§È‘–Êk¨œ72aÉ›³ �jPõáȤl¦¦�D©øÄ4˜ã‘?&QÎÎ6ìþ¸“hd¥Åò‰Bz º Õ°~8Û@D3s¦“h¤*3 å(êÍÞi¨tú»Ù™ª³ «ÊQCï>©„tœáȧÏåD/¬É÷�(¤H±;Û ÞÔÝóFœŽ…O"‘jñcä�Òã�Våd|ågöPÊF—_ÿúýµÑŽL—ßÎ6ÑI½1œÈ'ú}þ}¦�3÷¥

³ øiâìì%ƒŸ&Îçó_w -Q2q2ú@!FuV9³?Mœ�–²áNÊ™�³U’L~šxZ•”¥0É4ë4ΞÔd£à§‰_@;©7LÙ¨OGgëþ’M0৉ËhG6T%e)LÙ3³³CVN৉Ë_�&+'¾°³£É ~š¸|­ÉLÃvv(‡~šx=-óÓäd|(¤¢³™Í2øiâõh™ -s V 1ª³£.৉óù¯uÚ¨ …ÕÙ¨þÀ৉Q Eõvvø’B?MŒºüå|Ù�6|aJ¡³³|5œ øibÔå/çº�¯†“¡4ûÂêl�ª\ÁO£.y=ï@«S•“!å*�]æ¬à§‰óù÷yZôù…üÿ-s VgMXÀOç_;ÐvQÿ,É„B&,ÎV?Mœã´T}82)›©ÉÙ2ÀOç°­øÄ4˜£³y •ÁO7º-¯¡²³+«—~š¸}Ü€¶²z‰Îö�_ÀOçËû,h98Ó¿hñ&;ÛèçýÕYˆq¾œÏ»³Ù5wgXýx @æ:“Ï´*gN†|¢*½‡É_œE‰Ëƒõ/g´"!Rí‘Lð…J:šÝYÔÕãhÁPá� ]¨îAßœÅ㊺¿D=í�óFG¡°sˆÎ6gQ®qK2|a´"!«RÏG 1ª³è�º�Ôd£hK”Lc¦j¼$úå,j(K” ´“zÃĪ¢ÔóÑY<öÃ'Ÿ�Æ)ÒªrÔÐ�­ûKÔÃÝÙFV?(¯\ýð)ª?0}†ûFË}#QJ’øËY”ÕhG6Õ˜þÛYÔÕã Ea³Q¸o$JËýÍY:‹Ç¾bøä3Ð8EZUŽº³uI¡ß�mt`õã�Ì _˜RèL>Õ2#gJB··›³(W�}¾¤Ð.hEB¤£’ J¡³³è�e»\€V÷J¡óçﯿðÕ|þñå,úÁ#l··Ð2­;=ÎÎÉ8[DÖËÝYøtÅ´U|2d„_ Õ=¨³¨}EÚííF«rædÞœÅã3’„¾í�s£U}2ĪÔóÑYĪX€¹*wN†ªÌdX�ÅczFY/@{ì+ùA]”©îA³³xì+Rèò´ºs}¡(‰)¤Hòâl’З»³(W�¸…¾ _Њ„H¬J=)Ĩ΢<êvR“�¢-Q2�™ªñ’è—³¨¡,Q2ÐNê «ŠRÏGgñØW Ÿ|§H«ÊQCw6…./wgÉʉ†/ì,úÁ#lϬ´gV¡Pëì³#ê,² à«ád€–Ù_ 'CFè™UœE6uªrZfCuª’r%#tvåê·Q  ‘F](Ĩ΢<ê6då´%J¦1S5^]þê,j(K” ´` ÷Õ�’•“³¨«ÇyŒh²r"yys�é«ò ´ÎÎ6gQ®që>_Њ„H¬J=)Ĩ΢<êvR“�¢-Q2�™ªñ’è—³¨¡,Q2ÐNê «ŠRÏGgñØW Ÿ|§H«ÊQCwvU^ï΢\=â¶Ì1XÑŠ„H˃•BŒê,úÁ£n™Í2Ú%Ó˜©/‰^¿�E ¥`‰’�–ÙÐ2Ç`¥£:Û‹Èzw¶Q>ѪrÔЩˆ¬Î¢ì%b™#DÚ‘ ­â“au][Ú‘ •¼� ZÅ'Ãê,êêñÌ*@ãI-s Ö7gñ˜žqd³< %ÙhU©œ3-†�m΢\=öm™c°¢ ‘–9+eÔ8‹¼—ˆeŽhÊ™ -s VZ�:‹rõˆÛ¨ Њ„H£.bTgÑuÊ!m‰’iÌT�—D¯ggQC)X¢d ÙPâ«!å*�E]=žYh]”I _øÍY<¦gÔ"™�–d£Z$3…‰StöÈfy0wgQö±Ì¢­Hˆ´ŠO†ÕYt9 lhG6T§*-†�EH=ä õ�_HÆ ßf§ÅgáÓ;ÐVñÉ�J|5´<vy/Ë!*Ðr80­â“auåêiß ÷u™ÃYt9Pß‚³(WOûÅŒŽÎ¢Ë�ÂÖ�E]=��Åã3%¾šQŽÎ¢\=í›á¾.s8‹. [wuõtŽ»³xLÏÔ‹Èê,ÊÕÓ¾E1£„£³Ès¡à,º¨oÁY<ö•ò*_œM|5£Q®žö�S,>�rt]¶î,êêéì,Ÿ)¯¡ò…œE¹zÚ7N±ø4ÊÑYä¹Pp]Ô·à,ÊÕÓ¾îë2‡³èr °ugQWO¯¼;‹Çg)F1ÎⱯ”×PùâìH1й£\=í[3J8:‹~ð¶‹³èr ¾gñØWêEdu¶Õ�ë Q:íÞ0å5Tv6¯¡òåŽrõ´o†ûºÌá,º(lÝYÔÕ#¯¡2Ðò*¿9‹ÇgpŠ'�@{à¼Qݹ¾ÐI4:‹ºzTZ ª>™”ÍÔôæ,Ÿ‘ÙŒŽ@{à¼Qݹ¾ÐI4:‹ºz”´âÓ`ŽoÎâñ™Í(á´ÎÕ�ë �D£³¨«‡ ÐLXÞœÅã38Å“F =pÞ¨î\_è$�mTw®/äSô5ÑF~P’�2 )R•™Œ³(1À§“hÚ‘ ù} FÔYÔÕ# Ð|&oH9³ys�齈¬@K²‘òÊÁPY�m΢\=–í�3Њ„H·Î7gÑ倰-@ër`2B¡ÖÙ�E6>�D#вeò‰|о#êl#Ÿªrçd¨ÊL†•BФ¼r0TDVgQö‘N@+"U™É°: Ÿ®Ø�æSU³È{‰H' åp`ª2“au�}E/"«³ÍÙÌf”p¼£\=í§X|åè,ОÂvqèr ¾g9œƻ³�‚!N‘dÐI46RÎlȧèk0¢Î¢\=–- Њ„H·$7gÑ倰-@ër`2B¡ÖÙ�E6>�D#Д3ò)úŒ¨³xì+zY�¦¼r0TDVgk‘ÌwgQ®quZ‘iÔ…BŒê,úÁ£n£ÉŒ¶DÉ4fªÆK¢Ë·³¨¡,Q2Ðj‘Ì4|ag•ó,æîl£èóZ ¯ÙÐÊ ¤œg1™:çŽì,ÊÕ#nÊysA+"]²¡=”A=�E?xÔí¤&E[¢d3Uã%Ñ/gQC)X¢d �Ô¦K6´‡2¨ç£³�¢Ïk ”f_XI�Dcve/é´"!ÒI4R•™Œ³(W�¸]Îïs5”‚è—o ­*•s¦K6ýÑgQ®q»œÏggQC)ˆþpùÚªR9gzM‘¢?zã,ÊÕ#n—óÙYÔP ¢?\¾�¶ªTΙþÐHѽqåê·ËÙYÔP ¢?\¾�¶ªTΙþivŠþè�³(W�¸]œE ¥ úÃåh«Jåœé¯f§è�Þ8Û(ú¼–ð@™«¤H{(ƒd�ržÅdêœs8²³(W�¸)çYÌ+Z‘é5EÚCÔóÑYôƒGÝNj²Q´%J¦1S5^ýr5”‚%JÚI½azM‘öPõ|tvøäóÝYôƒGÝ”3 -Q2�™ªñ’èì,ûŠ%Jš²™šÈå‡l¸;ÛèçýÕÙFy.*ÓøÄd„¢Ðåûgñ†¢?øÈÎ6òi�æN´úEðY”>Óì +É “hÌ_Î6zGdúEð‘S¤ÏËùýo]ÎçóF—óy£Ëy#Qº|9ÛH¦Y§¹ÓÓã9’DUÒ}#å|ЬäíÅÙè—ﻳè�e{f ùä U™É°:‹Èzw]Û´"!RÏ É trµ¯ˆ@«}¥“7;õ¼� Šì,+Nê mUŸ )çYŒ³xLϨ’ŒO@ëy¹eâ§гèr@Ø ÐŠ„H%/΢ö ´ÚW:y³SÉ É ÈÎâ±â¤Þ0ÐVõÉ�ržÅ8[%Ÿî΢Ëa+@+"•¼8‹<0Ðò\Œ†j¨äå–�E—Ê€–Ã��E—¶­HˆÔóâ,ò² -ÏÅh¨†NÞìTƒêƒ³èrÀ¾ åp`gá“bšOU¹s2Te&ã,ûŠXDV E¡�Ä쬔çb4TãìI½á»³èr@Ø  ‘ªÌdœEˆç?Î;Ъ¤«!#rõÞYä½D¤Ðr80�D#U™É8‹.ð€–�(“bgÑu«’d´%J¦1S5^½:‹JÁ%mUŸ EôÆY”½D¤Д³eª2“qÊ@S6S“³�~Þ_�mT%e)L�sGÎÎ&¾0â‚[ŸÙP^¹úñ@�†/LF¨ÊLæ¶UÝÊpqÁísˆ_C_ ߉N•Â=чs5_7gTÝÊØnÞœõéõ€¸àÕ˜ªD&Ÿ)‰¡C(>Þ¶ª[Î".¸}ö™ ÍÌî-÷�D)Iâ�¯›³ˆ ªnel·?oΆ¾ _ÜB_üqÊÌ4|aJ¡s¦$†B)râxsqAÕ­ŒíöçÍÙîóðqÁ­†”ÄÐð)’Ùƒ¡á ßœE\Pu+c»ýysV9Ïb.ˆ næ*ÉŸ2ݶ۟7g•ó,æqÁ�N¢1ß¶ª[ÛíÏ›³ÍÙFÙˆ†#SPÙÙeŽñ„eŽÁú—ßçm™c°Ò*>Vg}:‰FÄI€öÀ™þAuª’Ot�Îâýo- Ñ?hasbNt�ÙÙtB<á™U€v�Te&ã¬á¾.sÜéýoqÁÙYN±ø4ÊñN\œ�bF Ç;½ÿ-.8;Ûœ§ˆl‚gÿë½ý DB CR,LF,'$' INVDRV DB 'DR