Date: Tue, 7 Mar 2000 10:15:50 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: "Campbell, Rolf [SKY:1U32:EXCH]" cc: djgpp AT delorie DOT com Subject: Re: Inline asm In-Reply-To: <38C3EE52.EC9DC2A9@americasm01.nt.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: dj-admin AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 6 Mar 2000, Campbell, Rolf [SKY:1U32:EXCH] wrote: > __dpmi_regs regs; > memset(®s, 0, sizeof(regs)); //I think this is optional for this > specific example > regs.x.ax = 0x13; > __dmpi_int(0x10, ®s); It is not necessary to zero-out regs when using __dpmi_int, since __dpmi_int zeroes out the parts that need that.