delorie.com/archives/browse.cgi | search |
Message-ID: | <38EFFFE0.B217D192@home.com> |
From: | Mark & Candice White <mhewii AT home DOT com> |
X-Mailer: | Mozilla 4.7 [en] (Win95; I) |
X-Accept-Language: | en,pdf |
MIME-Version: | 1.0 |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | 'retf' in inline? |
Lines: | 27 |
Date: | Sun, 09 Apr 2000 03:58:52 GMT |
NNTP-Posting-Host: | 24.0.127.127 |
X-Complaints-To: | abuse AT home DOT net |
X-Trace: | news1.rdc1.mi.home.com 955252732 24.0.127.127 (Sat, 08 Apr 2000 20:58:52 PDT) |
NNTP-Posting-Date: | Sat, 08 Apr 2000 20:58:52 PDT |
Organization: | @Home Network |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
I know gas is for flat 32bit but I am working (like many) on a small pm hobby os. I am working on my handling of the gdt. I made a new cs selector with the same settings as the current one. I need to do a far jump to it to test if it is all working ok. Changing cs but having ip just point to the next instruction. Now for the question: With inline asm how do I do a RETF, (it gives the error that its not a valid instruction) am I stuck doing a IRET and making a pointer to the exeption state? I have been using '.byte 0xCB' in its place, but would like to know the 'right' way to implement it. -- ------------------------------------------ Mark & Candice White System programming hobbyists. http://members.home.net/mhewii/welcome.htm
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |