X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Message-ID: <05ff01c4a785$07cef870$0600000a@broadpark.no> From: "Gisle Vanem" To: References: <878e8c25 DOT 0409302228 DOT 69fe8d24 AT posting DOT google DOT com> Subject: Re: __tb troubles Date: Fri, 1 Oct 2004 09:05:27 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Reply-To: djgpp AT delorie DOT com "Hemant Kumar" wrote: > regs.d.ebx = dwHandle; //Previous handle returned by > interrupt > regs.d.eax = 0xE820; > regs.x.es = __tb >> 4; // just need 20 bytes so using transfer > buffer > regs.x.di = __tb >> 0x0f; That should be '__tb & 0x0f' or simply '__tb' since the lower bits are always (?) 0. --gv