ORG 0100H MVI A, 0 ; move immediate LOOP: INR A ; increment ; call 'PRINT' subroutine, if required JMP LOOP ; jump unconditionally END