Include Irvine32 . inc .data MSG0 byte "enter your number: " , 0dh , 0ah , 0 MSG1 byte "how many digits: " , 0dh , 0ah , 0 MSG2 byte "enter sth to halt: " , 0dh , 0ah , 0 number dword 0 count dword 0 . code main proc L0 : mov edx , offset MSG0 ; display string call writestring call readint mov number , eax . if ( eax <= 0 ) jmp L3 . endif mov ecx , eax ; do exact same time as number mov ebx , 10 ; d...
留言
張貼留言