712

Unexpected end of file in Assembler

Iaca imi da eroarea de mai sus in program...mi se pare ca ceva n-am scris corect in macro... Numa nu va rideti ca eu is full lamer in assembler...init_ds macromov ax,@datamov ds,axinit_ds endm.model small.stack[10].datasir_1 db 60 dup(' ','$')sir db "Introdu sirul:",10,13,'$'sir_2 db "Sirul modificat este:".codeinit_dsmov ah,9mov dx,offset sirint 21hmov ah,3fhmov dx,offset sir_1int 21hmov cx,axsub cx,2xor di,dixor bl,blet:cmp sir_1[di],65jl et1cmp sir_1[di],90jg et1add sir_1[di],32inc blet1:inc diloop etmov ah,9mov dx, offset sir_1int 21hmov ah,2add bl,48mov dl,blint 21hmov ah,4chint 21hend
0