[fpc-pascal]Modifying cpu registers while in turbo pascal interrupt routine ?
houppermans at home.nl
Sat Mar 20 17:51:54 CET 2004
----- Original Message -----
From: "Jonas Maebe" <jonas.maebe at elis.ugent.be>
To: <fpc-pascal at lists.freepascal.org>
Sent: Saturday, March 20, 2004 2:30 PM
Subject: Re: [fpc-pascal]Modifying cpu registers while in turbo pascal
interrupt routine ?
> On 20 mrt 2004, at 03:21, Harald Houppermans wrote:
> > I read at some sites, set test 8086 to zero, some other sites say set
> > 8086
> > to one.
> > The documention of TP says: zero is for 8086, one is for 80286, and
> > two is
> > for 80386.
> > A 286 is in fact a 32 bit cpu... limited to 32 mb ram.
> No, the 286 is a 16 bit cpu with a 24 bit address bus (so it can
> address 16MB ram, not 32MB). The width of the address bus is
> independent of the size of the registers of a cpu.
Hmm indeed I was put off by masm's tutorial. It stated a 286 is a protected
mode cpu... I thought that automatically ment 32 bit cpu :)
More information about the fpc-pascal