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.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…