home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CP/M
/
CPM_CDROM.iso
/
enterprs
/
cpm
/
sigm
/
sigmv801.ark
/
NEAT.DOC
< prev
next >
Wrap
Text File
|
1986-02-01
|
2KB
|
52 lines
TITLE : NEATL and NEATU
FROM : IRV HOFF W6FFC
DATE : 1 JUN 83
Originally written by Joe Wright, these programs may be used to
format assembly level source code for more uniform presentation.
NEATC puts all source code to upper-case and and leaves all DB
strings and comments intact.
NEATL puts all source code to upper-case, all comments to lower-
case and leaves DB strings intact.
NEATU puts the entire program to upper-case with the exception
of DB strings which remain intact.
All three programs have an interesting side benefit. They strip
off the parity bit thus eliminating any 7th bits high that WORDSTAR or
similar editors might accidently leave on some characters.
TO USE: (NEATC used for the following examples, NEATL and NEATU work
the same way:
B>NEATC <cr> displays the way the program may be used
B>NEATC HELLO.ASM NEWNAME.ASM keeps the original file intact while
making a new file called NEWNAME.ASM
B>NEATC HELLO.ASM renames the original file to HELLO.BAK,
names the new file the original name
An interesting feature is available:
;' Using this method will keep names like Irv Hoff or labels
;' like "START" in the original case should you prefer neither
;' program to alter some of the comment lines. Using the
;' leading "tick" in this manner keeps the comments intact,
;' regardless which program is being used. Of course this
;' technique is unnecessary with NEATC which leaves all com-
;' lines intact.
- Irv Hoff