An instruction processor to execute two instruction sets. Instructions are stored
in different virtual memory pages of a single address space, and are coded for
computers of two different instruction sets, and use of two different calling conventions.
The instruction processor interprets instructions under, alternately, the first
or second instruction set as directed by a first flag stored in table entries corresponding
to memory pages for the instructions. The processor recognizes when program execution
has transferred from a page of instructions using the first data storage convention
to a page of instructions using the second data storage convention, as indicated
by a second flag stored in the table entries, and then adjusts a data storage content
of the computer from the first storage convention to the second data storage convention.
A history record provides a record of a classification of a recently-executed instruction.