ASSUME CS:CODE DATA SEGMENT DB 'ABCD',0 DATA ENDS CODE SEGMENT START: MOV AX,CS MOV DS,AX MOV SI,OFFSET DO0 MOV AX,0 MOV ES,AX MOV DI,200H MOV CX,OFFSET DO0END - OFFSET DO0 CLD REP MOVSB MOV AX,0 MOV ES,AX MOV WORD PTR ES:[0],200H MOV WORD PTR ES:[2],0 INT 0 ;MOV AX,0F000H ;MOV DX,22D ;MOV CX,10D ;DIV CX MOV AX,4C00H INT 21H DO0: MOV AX,DATA MOV DS,AX XOR SI,SI MOV AX,0B800H MOV ES,AX XOR DI,DI S: CMP [SI],0 JZ RT MOV AX,[SI] MOV ES:[DI],AX INC DI MOV ES:[DI],14H INC DI INC SI LOOP S RT: MOV AX,4C00H INT 21H DO0END: NOP CODE ENDS END START 2010-06-27 17:11:33