TITLE OutPosNum.asm ; This program will out all pos. integers or 0. ; Last update: 11/7/17 ; INCLUDE Irvine32.inc .data pmt BYTE "Your num? (o or neg. to quit): ", 0 .code main PROC MOV EAX, 0 MOV EDX, OFFSET pmt L1: call writeDec ; out the # call crlf call crlf call writeString ; prompt call readInt ; read in the #. EAX: 12 call crlf CMP EAX, 0 JG L1 call crlf exit main ENDP END main