| delorie.com/archives/browse.cgi | search |
| From: | "Andrew Davidson" <andrew AT lemure DOT freeserve DOT co DOT uk> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Generating Machine Code on the fly |
| Date: | Fri, 26 Feb 1999 18:47:18 -0000 |
| Organization: | Customer of Planet Online |
| Lines: | 19 |
| Message-ID: | <7b9el1$mi9$1@news7.svr.pol.co.uk> |
| References: | <7b6qpv$39t$1 AT news8 DOT svr DOT pol DOT co DOT uk> <199902261912 DOT OAA24117 AT envy DOT delorie DOT com> <7b7gra$5nh$1 AT news4 DOT svr DOT pol DOT co DOT uk> <199902270142 DOT UAA26915 AT envy DOT delorie DOT com> <7b80qg$qm3$1 AT news8 DOT svr DOT pol DOT co DOT uk> <36d80527 DOT 13423287 AT 158 DOT 152 DOT 254 DOT 68> |
| NNTP-Posting-Host: | modem-85.lidocaine.dialup.pol.co.uk |
| X-Trace: | news7.svr.pol.co.uk 920141281 23113 62.136.60.85 (27 Feb 1999 18:48:01 GMT) |
| NNTP-Posting-Date: | 27 Feb 1999 18:48:01 GMT |
| X-Complaints-To: | abuse AT theplanet DOT net |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Newsreader: | Microsoft Outlook Express 5.00.0810.800 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.0810.800 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Kevin <krugman AT nospam DOT demon DOT co DOT uk> wrote in message news:36d80527 DOT 13423287 AT 158 DOT 152 DOT 254 DOT 68... >AFIK when you execute a DJGPP compiled program, the Processor is >switched in to protected mode which gives you >a 32 bit flat address space. this does mean that your machine code has >to take this protected mode in to account. > >I'm a relative Newbie to DJGPP, but if I'm wrong, I'm sure we'll hear >all about it :) > >Kevin. Ahah! I thought the 32bit protected mode was simply 'emulated' by CWSDPMI. So if I wanted to use a relative jump operation would I use the standard machine code for jump relative, and how far could I jump, relative to the current pc?
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |