delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2017/03/28/11:30:08

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Received: by 10.36.124.21 with SMTP id a21mr4296375itd.27.1490714351353;
Tue, 28 Mar 2017 08:19:11 -0700 (PDT)
X-Received: by 10.157.9.183 with SMTP id q52mr2021064otd.11.1490714351286;
Tue, 28 Mar 2017 08:19:11 -0700 (PDT)
Newsgroups: comp.os.msdos.djgpp
Date: Tue, 28 Mar 2017 08:19:11 -0700 (PDT)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=84.82.215.132;
posting-account=JWQfLgoAAAC8QKtkzNbcIxeduALJ3mlU
NNTP-Posting-Host: 84.82.215.132
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ec865326-58ac-4534-a150-01a09c4e2798@googlegroups.com>
Subject: using fs/gs segment registers in djgpp?
From: "jwjagersma AT gmail DOT com [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
Injection-Date: Tue, 28 Mar 2017 15:19:11 +0000
Bytes: 1274
Lines: 1
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I was wondering if gcc/djgpp ever uses the fs and gs registers. From disassembling a djgpp-compiled exe, I found some references to fs (no idea what's stored there though) but gs appears unused.
Is it safe to overwrite these registers and use them in my program?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019