Mail Archives: djgpp/1999/01/01/20:33:11
From: | "Luiz Fernando Estivalet" <luisoft AT myway DOT com DOT br>
|
To: | <djgpp AT delorie DOT com>
|
Subject: | Problem converting ASM format
|
Date: | Fri, 1 Jan 1999 23:28:02 -0200
|
Message-ID: | <01be35ef$23ef6520$0100007f@localhost>
|
MIME-Version: | 1.0
|
X-Priority: | 3
|
X-MSMail-Priority: | Normal
|
X-Mailer: | Microsoft Outlook Express 4.71.1712.3
|
X-MimeOLE: | Produced By Microsoft MimeOLE V4.71.1712.3
|
Reply-To: | djgpp AT delorie DOT com
|
Hi.
i've tried to convert the below functiom to DJGPP and AT&T format, but
with no results...
could anybody translate those asm statements to AT&T formatt ?
Thanks ,
Luiz Fernando
void Flip(unsigned char far *source,unsigned char far *dest, unsigned int
num_bytes)
{
_asm {
push ds
les di, [dest]
lds si, [source]
mov cx, [num_bytes]
rep movsw
pop ds
}
}
- Raw text -