delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/02/12/10:48:43

Date: Fri, 12 Feb 1999 10:48:38 -0500
Message-Id: <199902121548.KAA18349@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp-workers AT delorie DOT com
In-reply-to: <199902121108.MAA26988@juno.erisoft.se> (eplmst@lu.erisoft.se)
Subject: Re: Carry flag
References: <199902121108 DOT MAA26988 AT juno DOT erisoft DOT se>
Reply-To: djgpp-workers AT delorie DOT com

> Shall I put the definitions in machine/asm.h, dpmi.h or create a new one 
> asm.h? Or any other suggestions?

Users who need it would be using the dpmi.h or dos.h header anyway.
machine/asm.h is for people writing .s files.  I think one option that
wouldn't be too bad is to add these lines to both dpmi.h and dos.h:

#ifndef _CPU_FLAG_CARRY
#define _CPU_FLAG_CARRY 1
#endif

We can then debate a separate file that defines all the flag bits as
_CPU_FLAG_* but dpmi.h and dos.h wouldn't need to include it.

- Raw text -


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