🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.lang.asm
Article #432

Re: The offset is so large

#432
From: cmk128
Date: Sat, 10 Jun 2006 12:08
27 lines
2092 bytes
Frank Kotler 寫道:

> cmk128@hotmail.com wrote:
>
> ...
> > Why the offset is 0xffffffb8? it is so large
>
> Wow! That offset is so large we might expect it to "wrap around" and
> sneak up behind the original value. Almost as though it were a negative
> number...
>
> Best,
> Frank

thanks for the great answrer, my memory layout is like that:

OS library : 0x1800000
OS code   : 0x1600000

And my SS is 0x0 and ESP is 0x16ffffff, that's why i go the negative
value in the OS library. But it is already? in my os library function,
when i declare a char array which larger than 4KB, i got a GP (general
protection fault). Please give me some suggestions to solve this.

thanks
from Peter (cmk128@hotmail.com)
Technical Details
Message-ID: <1149941295.897580.211400@g10g2000cwb.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!g10g2000cwb.googlegroups.com!not-for-mail
References: <1149914165.205201.192150@m38g2000cwc.googlegroups.com> <MNCdnRBuINEAzRfZnZ2dnUVZ_q2dnZ2d@comcast.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: f7d8d,c887c247d41a26de
X-Google-Thread: 11318c,c887c247d41a26de
X-Google-Attributes: gidf7d8d,gid11318c,public
X-Google-Language: ENGLISH,UTF8
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!g10g2000cwb.googlegroups.com!not-for-mail
From: cmk128@hotmail.com
Newsgroups: alt.lang.asm,gnu.gcc.help
Subject: Re: The offset is so large
Date: 10 Jun 2006 05:08:15 -0700
Organization: http://groups.google.com
Lines: 28
Message-ID: <1149941295.897580.211400@g10g2000cwb.googlegroups.com>
References: <1149914165.205201.192150@m38g2000cwc.googlegroups.com>
   <MNCdnRBuINEAzRfZnZ2dnUVZ_q2dnZ2d@comcast.com>
NNTP-Posting-Host: 218.102.239.83
Mime-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1149941301 6639 127.0.0.1 (10 Jun 2006 12:08:21 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sat, 10 Jun 2006 12:08:21 +0000 (UTC)
In-Reply-To: <MNCdnRBuINEAzRfZnZ2dnUVZ_q2dnZ2d@comcast.com>
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-TW; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4,gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: g10g2000cwb.googlegroups.com; posting-host=218.102.239.83;
   posting-account=cL8-QAwAAAAxHD4gjqv464LpnCLN8_pk