fix: поменял флаг "после перехода" на флаг размера последней инструкции
This commit is contained in:
@ -4,10 +4,12 @@ from typing import ClassVar, Callable
|
||||
from ctypes import c_uint32, c_int32
|
||||
import struct
|
||||
from optable import OPCODES, OpcodeDescription, OpL, OpA, OpF, OpD
|
||||
from enum import IntFlag, auto
|
||||
from enum import IntFlag, Enum, auto
|
||||
|
||||
class VMFlags(IntFlag):
|
||||
AFTER_BRANCH = auto()
|
||||
# if last instruction is big, then you should
|
||||
# skip more memory on step
|
||||
EXPANDED_INSTR = auto()
|
||||
|
||||
class Condition:
|
||||
def __init__(self, cond: int):
|
||||
|
||||
Reference in New Issue
Block a user