äI ÄMŠ This program will convert spaces in an .ASM file to tab charactersOÄMŠ It is written to be compiled using RUN* so that it can get the filenames$ÄMŠ from the MS-DOS command line.(ÄMŠ 2ÄMA$ = ˆ : B$ = ""<ÙM€ € †(A$) > 0FêM PLACE = „(1,A$," ")PN € € PLACE > 0#ZN B$ = ˆ(A$,†(A$) - PLACE)d,N A$ = ˆ(A$,PLACE - 1) nAN € € xAN€ €8‚AN€ †(A$) = 0 Š € "ENTER INPUT FILE NAME -> ";A$8Œ]N€ †(B$) = 0 Š € "ENTER OUTPUT FILE NAME -> ";B$–yN€1 "WORKING:"; N€! "I", 1, A$ª‘N€! "O", 2, B$´£N€8 „ „(1)9¾¦N LABEL$ = "" : OPER$ = "" : OPND$ = "" : CMNT$ = ""È ‚ € #1, A$ÒÖN B$ = ˆ(A$,1)ÜêN € B$= ";" Š "SKIP IT"1æO PLACE = „(1,A$," ") : Š FIND FIRST SPACE ðO € PLACE = 0 Š "SKIP IT"ú+O € € PLACE <> 1 6O LABEL$ = ˆ(A$,PLACE-1)$KO A$ = ˆ(A$, †(A$) - PLACE) iO € €"iO B$ = ˆ(A$,1),}O €8 B$= " " 6€O A$ = ˆ(A$, †(A$) - 1)@›O B$ = ˆ(A$,1) J¯O €9TÇO PLACE = „(1,A$," ")!^àO € PLACE = 0 Š "BUILD IT"hîO € € PLACE <> 1 rùO OPER$ = ˆ(A$, PLACE-1)$|P A$ = ˆ(A$, †(A$) - PLACE) †,P € €,P B$ = ˆ(A$,1)š@P €8 B$= " " ¤CP A$ = ˆ(A$, †(A$) - 1)®^P B$ = ˆ(A$,1) ¸rP €91ŠP PLACE = „(1,A$,";") : Š LOOK FOR COMMENT!Ì£P € PLACE = 0 Š "BUILD IT":Ö±P CMNT$ = ˆ(A$, †(A$) - PLACE + 1) : Š GET COMMENTàÐP A$ = ˆ(A$,PLACE - 1)êåP B$ = ˆ(A$,1)ôùP €8 B$= " " þüP A$ = ˆ(A$, †(A$) - 1)Q B$ = ˆ(A$,1) +Q €9CQ "BUILD IT"&CQ OPND$ = A$.0OQ € †(OPER$) Š LABEL$ = LABEL$ + ˆ(9),:tQ € †(OPND$) Š OPER$ = OPER$ + ˆ(9),D™Q € †(CMNT$) Š OPND$ = OPND$ + ˆ(9)N¾Q B$ = ˆ(OPND$,1)?XÒQ € B$ = ˆ(9) Š †(OPND$) < 14 Š OPND$ = OPND$ + ˆ(9)*bR A$ = LABEL$ + OPER$ + OPND$ + CMNT$l5R "SKIP IT"v5R €1 #2, A$€GR €1 ".";ŠMR€9”\R€% #1, #2žhR€ÿÿ