The title is to transfer the data in buff1 to buff2. The source program is as follows:
DSEG SEGMENT
buff1 db 0,1,2,3,4,5,6,7,8,9,
db 11,12,13,14,15,16,17,18,19,20
buff2 db 20 dup(?)
DSEG ENDS
CSEG SEGMENT
assume cs:CSEG, ds:DSEG
MAIN PROC FAR ;Main program entry
mov ax, dseg
mov ds, ax
mov ax,eseg
mov es, ax
mov cx,20
lea si,buff1
lea di,buff2
cycle:mov al,
mov ,al
inc si
inc di
loop cycle
mov ax, 4c00h ;Program ends, return to the operating system
int 21h
MAIN ENDP
CSEG ENDS
END MAIN
After compilation
The following error occurs
Unable to open input file: transformdata.asmExperts, please give guidance
DSEG SEGMENT
buff1 db 0,1,2,3,4,5,6,7,8,9,
db 11,12,13,14,15,16,17,18,19,20
buff2 db 20 dup(?)
DSEG ENDS
CSEG SEGMENT
assume cs:CSEG, ds:DSEG
MAIN PROC FAR ;Main program entry
mov ax, dseg
mov ds, ax
mov ax,eseg
mov es, ax
mov cx,20
lea si,buff1
lea di,buff2
cycle:mov al,
mov ,al
inc si
inc di
loop cycle
mov ax, 4c00h ;Program ends, return to the operating system
int 21h
MAIN ENDP
CSEG ENDS
END MAIN
After compilation
The following error occurs
Unable to open input file: transformdata.asmExperts, please give guidance
