;put numbers in str putYSq: MOV BX,20 ;the number start at string[20]->[19].... MOV tempXSq,EDX ; XOR EDX,EDX DIV Ten ;divided by 10 to get the laft digit ADD EDX,'0' ;convert to ascii MOV XYstrSq[BX],EDX ;THIS IS WERE I KEEP GETTING THE ERROR*** DEC BX ;next is string[19]->[18].... CMP EAX,0 ;if the number is 0 or less then exit from loop JBE nextNum JMP putYSq
EBX
BX
putYSq:
XOR EDX,EDX
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)