| delorie.com/archives/browse.cgi | search |
| From: | Bob Berkawitz <oonly AT mailexcite DOT com> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | inline asm question |
| Date: | Sat, 11 Jul 1998 22:35:01 -0600 |
| Organization: | Migros-Genossenschafts-Bund |
| Lines: | 13 |
| Message-ID: | <35A83CF5.E23@mailexcite.com> |
| Reply-To: | oonly AT mailexcite DOT com |
| NNTP-Posting-Host: | 1cust33.tnt13.dfw5.da.uu.net |
| Mime-Version: | 1.0 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
When I try to add es to the clobber I get this error:
unknown register name 'es' in 'asm'
inline statement looks like this:
asm("movb $0x00, es"
:/*no output*/
:/*no input*/
:"es");
Do I not need to put es in the clobber list? or is their another way to
tell djgpp that I have changed its value? I dont want to push es onto
the stack to preserve its value.
Thanks in advance
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |