Computing.Net > Forums > Programming > 16 bit programs runing on 32 bit machine

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

Reply to Message Icon

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



Sponsored Link
Ads by Google

Response Number 1
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.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: 16 bit programs runing on 32 bit machine

Convert vb4 16 bit to vb4 32 bit www.computing.net/answers/programming/convert-vb4-16-bit-to-vb4-32-bit/15136.html

C: Read signed 16 bit binary file www.computing.net/answers/programming/c-read-signed-16-bit-binary-file-/8683.html

Urgent www.computing.net/answers/programming/urgent-/1718.html