meowth08
Member
You can save nine bytes by eliminating JNZ IORD, JZ INCREMENT and JZ 0820H. The OUT A0H instruction should have the 0820H tag preceding it.
Both CPI instructions could take a long time to attain, and cause a false system freeze or loop activity. This is a good program, just needs clarity on each subroutine. The loops created by the OUT and JMP could only be stopped by resetting the CPU.
The final program is on post no. 17.