DIM bin% 3, bcd% 9 PRINT "Please wait for increment to 2 million" PROCassemble !bin%=1000 REPEAT CALL bin2bcd !bin%=!bcd% UNTIL !bcd%=2000000 PRINT "DONE" END DEF PROCassemble LOCAL P%, L% DIM P% 12, L% -1 [OPT 10 .bin2bcd mov eax,[bin%] inc eax mov [bcd%],eax ret ] ENDPROC
PRINT "Please wait for increment to 2 million" PROCassemble bin%=1000 REPEAT CALL bin2bcd bin%=bcd% UNTIL bcd%=2000000 PRINT "DONE" END DEF PROCassemble LOCAL P%, L% DIM P% 12, L% -1 [OPT 10 .bin2bcd mov eax,[^bin%] inc eax mov [^bcd%],eax ret ] ENDPROC
PRINT "Please wait for increment to 2 million" PROCassemble bin%=1000 REPEAT CALL bin2bcd UNTIL bin%=2000000 PRINT "DONE" END DEF PROCassemble LOCAL P%, L% DIM P% 12, L% -1 [OPT 10 .bin2bcd mov eax,[^bin%] inc eax mov [^bin%],eax ret ] ENDPROC