Intel x64 CPUs can also run x86 asm. Is there a flag or mode in the CPU to determine whether instructions should be decoded as x86 or x64? How does the CPU know if instructions are x86 or x64?
At the CPU level (not the OS level!), is it possible to mix x86 and x64 instructions?
Note: There are plenty of SO Q&A on this question at the OS level; I'm interested at the CPU level. Talk about libraries, files, etc., are not at the CPU level.