From: Jedediah Smith Newsgroups: comp.os.msdos.djgpp Subject: How to use 32 bit regs in 16 bit C prog? Date: Tue, 14 Jul 1998 23:00:20 -0700 Organization: Interlog Internet Services Lines: 15 Message-ID: <35AC4574.2A32@interlog.com> NNTP-Posting-Host: 209-20-9-190.dialin.interlog.com NNTP-Posting-Time: 15 Jul 1998 03:02:34 GMT Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I need to optimize a little inner loop in a 16 bit C prog and I want to use the 32 bit general purpose registers (EAX,EBX,ECX,EDX). I don't need to do any flat memory addressing or anything like that, just use those 4 regs to temporarily store data and do arithmetic. I can stick the machine code into the C source using the _emit_ macro but I want to know what I have to do to the CPU state before I can use the registers. Please send e-mail -- ..... :edediah :.: