www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/26/17:37:38

From: ps13 AT gauss DOT ma DOT ic DOT ac DOT uk (Mr P. Steele)
Newsgroups: comp.os.msdos.djgpp
Subject: asm help
Date: 26 Feb 1997 19:14:47 GMT
Organization: Imperial College, London, UK
Message-ID: <5f2237$c7o@oban.cc.ic.ac.uk>
NNTP-Posting-Host: jacobi.ma.ic.ac.uk
Lines: 13
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

How would I convert the following code to asm which will compile

asm (  "push ds
	les di,video_buffer
	lds si data
        mov cx 320*200/2
        cld
        rep movsw
	pop ds"
	)
I am having many problems with the les and lds part of the code.

**p DOT steele AT ic DOT ac DOT uk**

- Raw text -


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