Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
16 bit programs runing on 32 bit machine
Name: gary Date: October 13, 2001 at 05:22:19 Pacific
Comment:
can anyone help me out by explaning how 16 bit programs run on 32 bit machines or does any one know of a web address that will explane this in some depth thanks
Name: Omar Date: October 13, 2001 at 11:21:17 Pacific
Reply:
For one thing Intel kept each generation of the 8086 microprocessor almost fully backwards- compatible. For example each 32- bit instruction has a prefix, and normal reigister use is permitted by using the lower 16- bit word of the EAX register (80386+) as the AX. There are a few exceptions to the backwards-compatibility in 286s and up, that may have rendered a few good programs candidates for replacement. An 8086 push sp assembler instruction will push a value onto the stack that is reflected in the instruction, in later 286s the pushed value became the SP before the push was executed. I really don't know any more on the subject (heck, my first machine was a Pentium!), but I hear Intel offers several IA32 manuals in downloadable .PDF format.
0
Response Number 2
Name: Apple Date: October 16, 2001 at 13:00:51 Pacific
Reply:
Windows retains the ability to run old applications by a process called Thunking (or something like that). Basically, they left the Win31, 16-bit code in windows.
Ever wonder why it's so bloated?
0
Response Number 3
Name: john wells Date: October 20, 2001 at 15:33:14 Pacific
Reply:
16 bit code has a offset register, and the code is offset by that, so when code is place at different memory locations, the code wont't crash. it looks at the offset and and users the register as a pointer.
Summary: Hello I have a small program that was written in vb4 16 bit on a 286 on win3.1, and want to replace the hardware to Pentium hardware running Win 98 or xp and need the source code recompiled to at leas...
Summary: Hi, How to read signed 16-bit binary file? I opened the file with, pFile = fopen ("TestRawData","rb"); and I have fread(&number_bin, 2,1,pFile); to read the data, but it's not reading the correct v...
Summary: Your question's not too specific, as I don't know if you're refering to doubles or long doubles. A double is pretty much the standard big FP on 32-bit machines, as it's 8-bytes in size. That's around ...