/*************************************************************************/ /** : FILLBLNK.C Last Updated: Sept.30/90 **/ /** : Fills a string count bytes long with NULs... **/ /*************************************************************************/ #define NUL 0 fill_blank( string, count ) register char *string; register int count; { asm { subq #1, count ; because dbf counts to -1 lp: move.b #NUL, (string)+ dbf count, lp } }