An algorithm and a program have been developed which enable optimal alignments of biological sequences on an 8-bit microcomputer. The compiled program can process sequences up to 1000 residues on a Commodore 64. Since this program was written originally in the BASIC language, it may readily be adapted to other microcomputers with small changes.