Message-ID: <001001c0bcd1$f39fd960$0b0510ac@astra.sunderbynskabel.bd.se> From: "Mathias K" To: Subject: AST&T syntax Date: Wed, 4 Apr 2001 08:39:07 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000D_01C0BCE2.B6AB8A20" 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
Hi,
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&T...which i = know=20 absolutly nothing about...i still find it really complicated after = reading a few=20 tutorials online..
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..
 
if video_buffer is a global pointer and = data is a=20 local pointer, could you translate these 7 lines for me?
 
push ds
les di, video_buffer
lds = si,=20 data
mov cx, 32000
cld
rep movsw
pop ds
 
I'd be glad if you have time to help=20 me..
Thanks!
 
Best regards,
       =20             =    =20     Mathias Kunto, Lule=E5=20 Sweden
------=_NextPart_000_000D_01C0BCE2.B6AB8A20--