delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/04/04/02:35:35

Message-ID: <001001c0bcd1$f39fd960$0b0510ac@astra.sunderbynskabel.bd.se>
From: "Mathias K" <papewaio AT sunderbynskabel DOT bd DOT se>
To: <djgpp AT delorie DOT com>
Subject: AST&T syntax
Date: Wed, 4 Apr 2001 08:39:07 +0200
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Reply-To: djgpp AT delorie DOT com

This is a multi-part message in MIME format.

------=_NextPart_000_000D_01C0BCE2.B6AB8A20
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,
My name is Mathias, and I'm a student in Lule=E5, Sweden. I'm pretty new =
to programming, only done it at school using a borland compiler, but a =
friend recommended djgpp! =3D) so I decided to try..I am very pleased =
with it..it is great! but then i ran into a small problem, it wouldn't =
accept my assembler writings..i found out it must be AT&T...which i know =
absolutly nothing about...i still find it really complicated after =
reading a few tutorials online..
I don't really know if you answer questions like this, helping people =
with programming problems..but I'd be most greatful if you would take =
some time..

if video_buffer is a global pointer and data is a local pointer, could =
you translate these 7 lines for me?

push ds
les di, video_buffer
lds si, data
mov cx, 32000
cld
rep movsw
pop ds

I'd be glad if you have time to help me..
Thanks!

Best regards,=20
                            Mathias Kunto, Lule=E5 Sweden

------=_NextPart_000_000D_01C0BCE2.B6AB8A20
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>My name is Mathias, and I'm a student =
in Lule=E5,=20
Sweden. I'm pretty new to programming, only done it at school using a =
borland=20
compiler, but a friend recommended djgpp! =3D) so I decided to try..I am =
very=20
pleased with it..it is great! but then i ran into a small problem, it =
wouldn't=20
accept my assembler writings..i found out it must be AT&amp;T...which i =
know=20
absolutly nothing about...i still find it really complicated after =
reading a few=20
tutorials online..</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I don't really know if you answer =
questions like=20
this, helping people with programming problems..but I'd be most greatful =
if you=20
would take some time..</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>if video_buffer is a global pointer and =
data is a=20
local pointer, could you translate these 7 lines for me?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>push ds<BR>les di, video_buffer<BR>lds =
si,=20
data<BR>mov cx, 32000<BR>cld<BR>rep movsw<BR>pop ds</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I'd be glad if you have time to help=20
me..</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Thanks!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Best regards, </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; Mathias Kunto, Lule=E5=20
Sweden</FONT></DIV></FONT></DIV></BODY></HTML>

------=_NextPart_000_000D_01C0BCE2.B6AB8A20--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019