Use scaled indexing mode n=4 for addressing opStack, this way we can use the 8 bit offset value in %%bl to address an OPSTACK_SIZE of 1024 which was the old value.
This commit is contained in:
parent
3f9ec83ce0
commit
61d6e6eb68
2 changed files with 84 additions and 84 deletions
|
@ -24,7 +24,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
|
||||
// don't change, this is hardcoded into x86 VMs, opStack protection relies
|
||||
// on this
|
||||
#define OPSTACK_SIZE 256
|
||||
#define OPSTACK_SIZE 1024
|
||||
#define OPSTACK_MASK (OPSTACK_SIZE-1)
|
||||
|
||||
// don't change
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue