Category : C Source Code
Archive   : JAZLIB.ZIP
Filename : MOVE.ASM

 
Output of file : MOVE.ASM contained in archive : JAZLIB.ZIP

title buffer move
name move

assume cs:_text
_text segment public byte 'code'
public _move

_move proc near

push bp
mov bp,sp
push si
push di

mov di,[bp+4] ; get destin
mov si,[bp+6] ; get source
mov cx,[bp+8] ; get number of chars
rep movsb ; move the data

pop di
pop si
mov sp,bp
pop bp
ret
_move endp
_text ends
end


  3 Responses to “Category : C Source Code
Archive   : JAZLIB.ZIP
Filename : MOVE.ASM

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/