include irvine32.inc
.data
cnt dd 0
n dd 0
mains byte "하노이탑에서 옮기려는 원반의 수는?? : ",0
s1 byte ": 말뚝 ",0
s2 byte "에서 말뚝 ",0
s3 byte "로 원반 ",0
s4 byte "을 이동",0
from Dword ?
to dword ?
temp dword ?
from2 dword ?
to2 dword ?
temp2 dword ?
count dd 0
.code
main proc
mov edx,offset mains
call writestring
call readint