Xref: news2.mv.net comp.os.msdos.djgpp:4536 From: jonathan coupe <101667 DOT 3707 AT CompuServe DOT COM> Newsgroups: comp.os.msdos.djgpp Subject: can't access es in inline asm -help Date: 3 Jun 1996 19:38:58 GMT Organization: secret conspiracy Lines: 20 Message-ID: <4ovf0i$gq7$1@mhafc.production.compuserve.com> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Could some please tell me why this program doesn't get past the compiler? It tells me that "es is an unknown register." As you can probably tell from the mid-bending simplicity of the code below, this is my start with djgpp, but I have run the compiler on several other programs without any problems. Also, is an inline rep stos used this way the optimum way of drawing horizontals in djgpp? Watcom has a really smart memmset with a Duffy switch. I looked through the library help looking for something similar, but I'm still rather confused over which library fns can get at vram safely. Thanks, Jonathan