}VWC1 DOCWC1 OBJWC1 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. vr&WC1.ASM?  !"#$%&'()*+,-o./0123456789:;<=> 'A2u"tD/(H;۠FO"jcVd|gPF_L6I1'}}3

i%&_w-Q2q2@!FuV9?MNʙUL~xZ044Ξd৉_@;7L٨OGgM0৉hG6T%e)L3CVN৉_&+' ~|Lvv(~x=-d|(2ih -s V 1.৉uڨ ٨৉QEvvB?M|ف6|aJ|5 ib/4l\O.y=@S!*]৉yZ-s VgMXO_;vQ,ɄB&,V?MT}82)2O4y O7-+~}܀z_O,h98ӿh&;Yqϻ5wgXx@:ϴ*gN|*_E/g"!RLJ:YhP ]Aߜ㊺D=FGs6gQqK2|a"!RG 1dhKLcj$,j(K zĪY<')ҪrНKFV?(\)?0}F}#QJYhG6YEaQo$JY:Ǿb38EZUuIߝmt` _RL>2#gJB(W}.hEB Je\VJﯿ|,#l2;=8[DYtU|2d_ =}EFrdޜ3sU}2ĪYĪX*wNdXczFY/@{+A]Ax+Rs}()HlЗ(W _ЊHJ=)Ĩ΢_ЊHJ=)Ĩ΢ѪrЩ΢%b#Dڑ au][ڑ Z',*@I-s 7gqd<%hU3-m΢\=mc 9+e8ehʙ -s VZ:rۨ ЊH.bTgu!miTDggQC)XdP!*E]=Yh]I _Yrt],,)Ez7N4YPp]Է,Ӿ2rugQWO;g)F1ⱯPH1\=[3J8:~rgWEdu՝ Q:05Tv6ro,(lY#2*9gp'@{QݹI4:zTZ >,ٌ@{QݹI4:z`o(՝ D LXޜ38œF=pި\_$mTw/S5F~P2 )R(1hڑ } FY# |&oH9ys@KPYm΢\=3ЊH7g倰-@r`2BٝE6>D#вe|#l#rdLBr0TDVgQN@+"Uɰ: ؁SU{H'p`2au}E/"fp\=X|,vqrg9œƻ!NdI46Rlȧk0΢\=- ЊH$7g倰-@r`2BٝE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