Intrebare la assembler
.model small.stack.datasource db "Hello America","$"dest db 13 dup (" ").codeassume ds:@data,es:@datamain:mov ax,@datamov ds,axmov es,axcld lea si,sourcelea di,destmov cx,14rep movs dest,sourcelea dx,destmov ah,9hint 21hmov ah,4chint 21hendDe ce daca scriu:rep movsbapoi merge programa si fara: assume ds:@data,es:@datada daca scriu:rep movs dest source apoi nu vrea fara : assume ds:@data,es:@data