Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
303 views
in Technique[技术] by (71.8m points)

x86 64 - Is it possible to run 64bit code on 32bit OS with 64-bit processor?

We can transit from 32-bit to 64-bit mode on 64-bit OS changing CS register to 0x33 and align stack accordingly.

Is it possible to do the same, but for 32-bit OS running on 64-bit processor? I tried, but got an access violation. It seems, CS register is 0x1B on 32-bit OS, which is different from 0x23 on 64-bit OS.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...