Skip to content

Instantly share code, notes, and snippets.

@hugosenari
Last active April 18, 2024 00:38
Show Gist options
  • Save hugosenari/c0bfd861b7253ac28cf2ace6af0186b9 to your computer and use it in GitHub Desktop.
Save hugosenari/c0bfd861b7253ac28cf2ace6af0186b9 to your computer and use it in GitHub Desktop.
all eBPF Operations
type
OpCode = enum
LOAD_IMME_IMMEDI_32_BITS = (000, "LOAD_IMME | SIZE_32 | IMMEDI = 0x00"),
LOAD_SRC_IMMEDI_32_BITS = (001, "LOAD_SRC | SIZE_32 | IMMEDI = 0x01"),
STORE_IMME_IMMEDI_32_BITS = (002, "STORE_IMME | SIZE_32 | IMMEDI = 0x02"),
STORE_SRC_IMMEDI_32_BITS = (003, "STORE_SRC | SIZE_32 | IMMEDI = 0x03"),
ADD_IMM_32_BITS = (004, "ADD | IMM | MATH_32 = 0x04"),
GO_TO_IMM = (005, "GO_TO | IMM | JUMP_64 = 0x05"),
ADD_IMM_64_BITS = (007, "ADD | IMM | MATH_64 = 0x07"),
LOAD_IMME_IMMEDI_16_BITS = (008, "LOAD_IMME | SIZE_16 | IMMEDI = 0x08"),
LOAD_SRC_IMMEDI_16_BITS = (009, "LOAD_SRC | SIZE_16 | IMMEDI = 0x09"),
STORE_IMME_IMMEDI_16_BITS = (010, "STORE_IMME | SIZE_16 | IMMEDI = 0x0A"),
STORE_SRC_IMMEDI_16_BITS = (011, "STORE_SRC | SIZE_16 | IMMEDI = 0x0B"),
ADD_SRC_32_BITS = (012, "ADD | SRC | MATH_32 = 0x0C"),
GO_TO_SRC = (013, "GO_TO | SRC | JUMP_64 = 0x0D"),
ADD_SRC_64_BITS = (015, "ADD | SRC | MATH_64 = 0x0F"),
LOAD_IMME_IMMEDI_08_BITS = (016, "LOAD_IMME | SIZE_08 | IMMEDI = 0x10"),
LOAD_SRC_IMMEDI_08_BITS = (017, "LOAD_SRC | SIZE_08 | IMMEDI = 0x11"),
STORE_IMME_IMMEDI_08_BITS = (018, "STORE_IMME | SIZE_08 | IMMEDI = 0x12"),
STORE_SRC_IMMEDI_08_BITS = (019, "STORE_SRC | SIZE_08 | IMMEDI = 0x13"),
SUBSTRACT_IMM_32_BITS = (020, "SUBSTRACT | IMM | MATH_32 = 0x14"),
IF_EQ_GO_IMM_64_BITS = (021, "IF_EQ_GO | IMM | JUMP_64 = 0x15"),
IF_EQ_GO_IMM_32_BITS = (022, "IF_EQ_GO | IMM | JUMP_32 = 0x16"),
SUBSTRACT_IMM_64_BITS = (023, "SUBSTRACT | IMM | MATH_64 = 0x17"),
LOAD_IMME_IMMEDI_64_BITS = (024, "LOAD_IMME | SIZE_64 | IMMEDI = 0x18"),
LOAD_SRC_IMMEDI_64_BITS = (025, "LOAD_SRC | SIZE_64 | IMMEDI = 0x19"),
STORE_IMME_IMMEDI_64_BITS = (026, "STORE_IMME | SIZE_64 | IMMEDI = 0x1A"),
STORE_SRC_IMMEDI_64_BITS = (027, "STORE_SRC | SIZE_64 | IMMEDI = 0x1B"),
SUBSTRACT_SRC_32_BITS = (028, "SUBSTRACT | SRC | MATH_32 = 0x1C"),
IF_EQ_GO_SRC_64_BITS = (029, "IF_EQ_GO | SRC | JUMP_64 = 0x1D"),
IF_EQ_GO_SRC_32_BITS = (030, "IF_EQ_GO | SRC | JUMP_32 = 0x1E"),
SUBSTRACT_SRC_64_BITS = (031, "SUBSTRACT | SRC | MATH_64 = 0x1F"),
LOAD_IMME_ABSOLU_32_BITS = (032, "LOAD_IMME | SIZE_32 | ABSOLU = 0x20"),
LOAD_SRC_ABSOLU_32_BITS = (033, "LOAD_SRC | SIZE_32 | ABSOLU = 0x21"),
STORE_IMME_ABSOLU_32_BITS = (034, "STORE_IMME | SIZE_32 | ABSOLU = 0x22"),
STORE_SRC_ABSOLU_32_BITS = (035, "STORE_SRC | SIZE_32 | ABSOLU = 0x23"),
MULTIPLY_IMM_32_BITS = (036, "MULTIPLY | IMM | MATH_32 = 0x24"),
IF_UINT_GT_GO_IMM_64_BITS = (037, "IF_UINT_GT_GO | IMM | JUMP_64 = 0x25"),
IF_UINT_GT_GO_IMM_32_BITS = (038, "IF_UINT_GT_GO | IMM | JUMP_32 = 0x26"),
MULTIPLY_IMM_64_BITS = (039, "MULTIPLY | IMM | MATH_64 = 0x27"),
LOAD_IMME_ABSOLU_16_BITS = (040, "LOAD_IMME | SIZE_16 | ABSOLU = 0x28"),
LOAD_SRC_ABSOLU_16_BITS = (041, "LOAD_SRC | SIZE_16 | ABSOLU = 0x29"),
STORE_IMME_ABSOLU_16_BITS = (042, "STORE_IMME | SIZE_16 | ABSOLU = 0x2A"),
STORE_SRC_ABSOLU_16_BITS = (043, "STORE_SRC | SIZE_16 | ABSOLU = 0x2B"),
MULTIPLY_SRC_32_BITS = (044, "MULTIPLY | SRC | MATH_32 = 0x2C"),
IF_UINT_GT_GO_SRC_64_BITS = (045, "IF_UINT_GT_GO | SRC | JUMP_64 = 0x2D"),
IF_UINT_GT_GO_SRC_32_BITS = (046, "IF_UINT_GT_GO | SRC | JUMP_32 = 0x2E"),
MULTIPLY_SRC_64_BITS = (047, "MULTIPLY | SRC | MATH_64 = 0x2F"),
LOAD_IMME_ABSOLU_08_BITS = (048, "LOAD_IMME | SIZE_08 | ABSOLU = 0x30"),
LOAD_SRC_ABSOLU_08_BITS = (049, "LOAD_SRC | SIZE_08 | ABSOLU = 0x31"),
STORE_IMME_ABSOLU_08_BITS = (050, "STORE_IMME | SIZE_08 | ABSOLU = 0x32"),
STORE_SRC_ABSOLU_08_BITS = (051, "STORE_SRC | SIZE_08 | ABSOLU = 0x33"),
DIVIDE_IMM_32_BITS = (052, "DIVIDE | IMM | MATH_32 = 0x34"),
IF_UINT_GE_GO_IMM_64_BITS = (053, "IF_UINT_GE_GO | IMM | JUMP_64 = 0x35"),
IF_UINT_GE_GO_IMM_32_BITS = (054, "IF_UINT_GE_GO | IMM | JUMP_32 = 0x36"),
DIVIDE_IMM_64_BITS = (055, "DIVIDE | IMM | MATH_64 = 0x37"),
LOAD_IMME_ABSOLU_64_BITS = (056, "LOAD_IMME | SIZE_64 | ABSOLU = 0x38"),
LOAD_SRC_ABSOLU_64_BITS = (057, "LOAD_SRC | SIZE_64 | ABSOLU = 0x39"),
STORE_IMME_ABSOLU_64_BITS = (058, "STORE_IMME | SIZE_64 | ABSOLU = 0x3A"),
STORE_SRC_ABSOLU_64_BITS = (059, "STORE_SRC | SIZE_64 | ABSOLU = 0x3B"),
DIVIDE_SRC_32_BITS = (060, "DIVIDE | SRC | MATH_32 = 0x3C"),
IF_UINT_GE_GO_SRC_64_BITS = (061, "IF_UINT_GE_GO | SRC | JUMP_64 = 0x3D"),
IF_UINT_GE_GO_SRC_32_BITS = (062, "IF_UINT_GE_GO | SRC | JUMP_32 = 0x3E"),
DIVIDE_SRC_64_BITS = (063, "DIVIDE | SRC | MATH_64 = 0x3F"),
LOAD_IMME_INDREC_32_BITS = (064, "LOAD_IMME | SIZE_32 | INDREC = 0x40"),
LOAD_SRC_INDREC_32_BITS = (065, "LOAD_SRC | SIZE_32 | INDREC = 0x41"),
STORE_IMME_INDREC_32_BITS = (066, "STORE_IMME | SIZE_32 | INDREC = 0x42"),
STORE_SRC_INDREC_32_BITS = (067, "STORE_SRC | SIZE_32 | INDREC = 0x43"),
OR_IMM_32_BITS = (068, "OR | IMM | MATH_32 = 0x44"),
IF_AND_GO_IMM_64_BITS = (069, "IF_AND_GO | IMM | JUMP_64 = 0x45"),
IF_AND_GO_IMM_32_BITS = (070, "IF_AND_GO | IMM | JUMP_32 = 0x46"),
OR_IMM_64_BITS = (071, "OR | IMM | MATH_64 = 0x47"),
LOAD_IMME_INDREC_16_BITS = (072, "LOAD_IMME | SIZE_16 | INDREC = 0x48"),
LOAD_SRC_INDREC_16_BITS = (073, "LOAD_SRC | SIZE_16 | INDREC = 0x49"),
STORE_IMME_INDREC_16_BITS = (074, "STORE_IMME | SIZE_16 | INDREC = 0x4A"),
STORE_SRC_INDREC_16_BITS = (075, "STORE_SRC | SIZE_16 | INDREC = 0x4B"),
OR_SRC_32_BITS = (076, "OR | SRC | MATH_32 = 0x4C"),
IF_AND_GO_SRC_64_BITS = (077, "IF_AND_GO | SRC | JUMP_64 = 0x4D"),
IF_AND_GO_SRC_32_BITS = (078, "IF_AND_GO | SRC | JUMP_32 = 0x4E"),
OR_SRC_64_BITS = (079, "OR | SRC | MATH_64 = 0x4F"),
LOAD_IMME_INDREC_08_BITS = (080, "LOAD_IMME | SIZE_08 | INDREC = 0x50"),
LOAD_SRC_INDREC_08_BITS = (081, "LOAD_SRC | SIZE_08 | INDREC = 0x51"),
STORE_IMME_INDREC_08_BITS = (082, "STORE_IMME | SIZE_08 | INDREC = 0x52"),
STORE_SRC_INDREC_08_BITS = (083, "STORE_SRC | SIZE_08 | INDREC = 0x53"),
AND_IMM_32_BITS = (084, "AND | IMM | MATH_32 = 0x54"),
IF_NOT_GO_IMM_64_BITS = (085, "IF_NOT_GO | IMM | JUMP_64 = 0x55"),
IF_NOT_GO_IMM_32_BITS = (086, "IF_NOT_GO | IMM | JUMP_32 = 0x56"),
AND_IMM_64_BITS = (087, "AND | IMM | MATH_64 = 0x57"),
LOAD_IMME_INDREC_64_BITS = (088, "LOAD_IMME | SIZE_64 | INDREC = 0x58"),
LOAD_SRC_INDREC_64_BITS = (089, "LOAD_SRC | SIZE_64 | INDREC = 0x59"),
STORE_IMME_INDREC_64_BITS = (090, "STORE_IMME | SIZE_64 | INDREC = 0x5A"),
STORE_SRC_INDREC_64_BITS = (091, "STORE_SRC | SIZE_64 | INDREC = 0x5B"),
AND_SRC_32_BITS = (092, "AND | SRC | MATH_32 = 0x5C"),
IF_NOT_GO_SRC_64_BITS = (093, "IF_NOT_GO | SRC | JUMP_64 = 0x5D"),
IF_NOT_GO_SRC_32_BITS = (094, "IF_NOT_GO | SRC | JUMP_32 = 0x5E"),
AND_SRC_64_BITS = (095, "AND | SRC | MATH_64 = 0x5F"),
LOAD_IMME_MEMORY_32_BITS = (096, "LOAD_IMME | SIZE_32 | MEMORY = 0x60"),
LOAD_SRC_MEMORY_32_BITS = (097, "LOAD_SRC | SIZE_32 | MEMORY = 0x61"),
STORE_IMME_MEMORY_32_BITS = (098, "STORE_IMME | SIZE_32 | MEMORY = 0x62"),
STORE_SRC_MEMORY_32_BITS = (099, "STORE_SRC | SIZE_32 | MEMORY = 0x63"),
LEFT_SHIFT_IMM_32_BITS = (100, "LEFT_SHIFT | IMM | MATH_32 = 0x64"),
IF_GT_GO_IMM_64_BITS = (101, "IF_GT_GO | IMM | JUMP_64 = 0x65"),
IF_GT_GO_IMM_32_BITS = (102, "IF_GT_GO | IMM | JUMP_32 = 0x66"),
LEFT_SHIFT_IMM_64_BITS = (103, "LEFT_SHIFT | IMM | MATH_64 = 0x67"),
LOAD_IMME_MEMORY_16_BITS = (104, "LOAD_IMME | SIZE_16 | MEMORY = 0x68"),
LOAD_SRC_MEMORY_16_BITS = (105, "LOAD_SRC | SIZE_16 | MEMORY = 0x69"),
STORE_IMME_MEMORY_16_BITS = (106, "STORE_IMME | SIZE_16 | MEMORY = 0x6A"),
STORE_SRC_MEMORY_16_BITS = (107, "STORE_SRC | SIZE_16 | MEMORY = 0x6B"),
LEFT_SHIFT_SRC_32_BITS = (108, "LEFT_SHIFT | SRC | MATH_32 = 0x6C"),
IF_GT_GO_SRC_64_BITS = (109, "IF_GT_GO | SRC | JUMP_64 = 0x6D"),
IF_GT_GO_SRC_32_BITS = (110, "IF_GT_GO | SRC | JUMP_32 = 0x6E"),
LEFT_SHIFT_SRC_64_BITS = (111, "LEFT_SHIFT | SRC | MATH_64 = 0x6F"),
LOAD_IMME_MEMORY_08_BITS = (112, "LOAD_IMME | SIZE_08 | MEMORY = 0x70"),
LOAD_SRC_MEMORY_08_BITS = (113, "LOAD_SRC | SIZE_08 | MEMORY = 0x71"),
STORE_IMME_MEMORY_08_BITS = (114, "STORE_IMME | SIZE_08 | MEMORY = 0x72"),
STORE_SRC_MEMORY_08_BITS = (115, "STORE_SRC | SIZE_08 | MEMORY = 0x73"),
RIGHT_SHIFT_IMM_32_BITS = (116, "RIGHT_SHIFT | IMM | MATH_32 = 0x74"),
IF_GE_GO_IMM_64_BITS = (117, "IF_GE_GO | IMM | JUMP_64 = 0x75"),
IF_GE_GO_IMM_32_BITS = (118, "IF_GE_GO | IMM | JUMP_32 = 0x76"),
RIGHT_SHIFT_IMM_64_BITS = (119, "RIGHT_SHIFT | IMM | MATH_64 = 0x77"),
LOAD_IMME_MEMORY_64_BITS = (120, "LOAD_IMME | SIZE_64 | MEMORY = 0x78"),
LOAD_SRC_MEMORY_64_BITS = (121, "LOAD_SRC | SIZE_64 | MEMORY = 0x79"),
STORE_IMME_MEMORY_64_BITS = (122, "STORE_IMME | SIZE_64 | MEMORY = 0x7A"),
STORE_SRC_MEMORY_64_BITS = (123, "STORE_SRC | SIZE_64 | MEMORY = 0x7B"),
RIGHT_SHIFT_SRC_32_BITS = (124, "RIGHT_SHIFT | SRC | MATH_32 = 0x7C"),
IF_GE_GO_SRC_64_BITS = (125, "IF_GE_GO | SRC | JUMP_64 = 0x7D"),
IF_GE_GO_SRC_32_BITS = (126, "IF_GE_GO | SRC | JUMP_32 = 0x7E"),
RIGHT_SHIFT_SRC_64_BITS = (127, "RIGHT_SHIFT | SRC | MATH_64 = 0x7F"),
NEGATE_IMM_32_BITS = (132, "NEGATE | IMM | MATH_32 = 0x84"),
CALL_IMM_64_BITS = (133, "CALL | IMM | JUMP_64 = 0x85"),
CALL_IMM_32_BITS = (134, "CALL | IMM | JUMP_32 = 0x86"),
NEGATE_IMM_64_BITS = (135, "NEGATE | IMM | MATH_64 = 0x87"),
NEGATE_SRC_32_BITS = (140, "NEGATE | SRC | MATH_32 = 0x8C"),
CALL_SRC_64_BITS = (141, "CALL | SRC | JUMP_64 = 0x8D"),
CALL_SRC_32_BITS = (142, "CALL | SRC | JUMP_32 = 0x8E"),
NEGATE_SRC_64_BITS = (143, "NEGATE | SRC | MATH_64 = 0x8F"),
MODULO_IMM_32_BITS = (148, "MODULO | IMM | MATH_32 = 0x94"),
EXIT_IMM = (149, "EXIT | IMM | JUMP_64 = 0x95"),
MODULO_IMM_64_BITS = (151, "MODULO | IMM | MATH_64 = 0x97"),
MODULO_SRC_32_BITS = (156, "MODULO | SRC | MATH_32 = 0x9C"),
EXIT_SRC = (157, "EXIT | SRC | JUMP_64 = 0x9D"),
MODULO_SRC_64_BITS = (159, "MODULO | SRC | MATH_64 = 0x9F"),
XOR_IMM_32_BITS = (164, "XOR | IMM | MATH_32 = 0xA4"),
IF_UINT_LT_GO_IMM_64_BITS = (165, "IF_UINT_LT_GO | IMM | JUMP_64 = 0xA5"),
IF_UINT_LT_GO_IMM_32_BITS = (166, "IF_UINT_LT_GO | IMM | JUMP_32 = 0xA6"),
XOR_IMM_64_BITS = (167, "XOR | IMM | MATH_64 = 0xA7"),
XOR_SRC_32_BITS = (172, "XOR | SRC | MATH_32 = 0xAC"),
IF_UINT_LT_GO_SRC_64_BITS = (173, "IF_UINT_LT_GO | SRC | JUMP_64 = 0xAD"),
IF_UINT_LT_GO_SRC_32_BITS = (174, "IF_UINT_LT_GO | SRC | JUMP_32 = 0xAE"),
XOR_SRC_64_BITS = (175, "XOR | SRC | MATH_64 = 0xAF"),
MOVE_IMM_32_BITS = (180, "MOVE | IMM | MATH_32 = 0xB4"),
IF_UINT_LE_GO_IMM_64_BITS = (181, "IF_UINT_LE_GO | IMM | JUMP_64 = 0xB5"),
IF_UINT_LE_GO_IMM_32_BITS = (182, "IF_UINT_LE_GO | IMM | JUMP_32 = 0xB6"),
MOVE_IMM_64_BITS = (183, "MOVE | IMM | MATH_64 = 0xB7"),
MOVE_SRC_32_BITS = (188, "MOVE | SRC | MATH_32 = 0xBC"),
IF_UINT_LE_GO_SRC_64_BITS = (189, "IF_UINT_LE_GO | SRC | JUMP_64 = 0xBD"),
IF_UINT_LE_GO_SRC_32_BITS = (190, "IF_UINT_LE_GO | SRC | JUMP_32 = 0xBE"),
MOVE_SRC_64_BITS = (191, "MOVE | SRC | MATH_64 = 0xBF"),
STORE_SRC_ATOMIC_32_BITS = (195, "STORE_SRC | SIZE_32 | ATOMIC = 0xC3"),
AND_RIGHT_SHIFT_IMM_32_BITS = (196, "AND_RIGHT_SHIFT | IMM | MATH_32 = 0xC4"),
IF_LT_GO_IMM_64_BITS = (197, "IF_LT_GO | IMM | JUMP_64 = 0xC5"),
IF_LT_GO_IMM_32_BITS = (198, "IF_LT_GO | IMM | JUMP_32 = 0xC6"),
AND_RIGHT_SHIFT_IMM_64_BITS = (199, "AND_RIGHT_SHIFT | IMM | MATH_64 = 0xC7"),
AND_RIGHT_SHIFT_SRC_32_BITS = (204, "AND_RIGHT_SHIFT | SRC | MATH_32 = 0xCC"),
IF_LT_GO_SRC_64_BITS = (205, "IF_LT_GO | SRC | JUMP_64 = 0xCD"),
IF_LT_GO_SRC_32_BITS = (206, "IF_LT_GO | SRC | JUMP_32 = 0xCE"),
AND_RIGHT_SHIFT_SRC_64_BITS = (207, "AND_RIGHT_SHIFT | SRC | MATH_64 = 0xCF"),
TO_ENDIAN_LOW_32_BITS = (212, "TO_ENDIAN | IMM | MATH_32 = 0xD4"),
IF_LE_GO_IMM_64_BITS = (213, "IF_LE_GO | IMM | JUMP_64 = 0xD5"),
IF_LE_GO_IMM_32_BITS = (214, "IF_LE_GO | IMM | JUMP_32 = 0xD6"),
TO_ENDIAN_LOW_64_BITS = (215, "TO_ENDIAN | IMM | MATH_64 = 0xD7"),
STORE_SRC_ATOMIC_64_BITS = (219, "STORE_SRC | SIZE_64 | ATOMIC = 0xDB"),
TO_ENDIAN_BIG_32_BITS = (220, "TO_ENDIAN | SRC | MATH_32 = 0xDC"),
IF_LE_GO_SRC_64_BITS = (221, "IF_LE_GO | SRC | JUMP_64 = 0xDD"),
IF_LE_GO_SRC_32_BITS = (222, "IF_LE_GO | SRC | JUMP_32 = 0xDE"),
TO_ENDIAN_BIG_64_BITS = (223, "TO_ENDIAN | SRC | MATH_64 = 0xDF")
type
OpCode = enum
ADD_IMM_32_BITS = (004, "ADD | IMM | MATH_32 = 0x04"),
ADD_IMM_64_BITS = (007, "ADD | IMM | MATH_64 = 0x07"),
ADD_SRC_32_BITS = (012, "ADD | SRC | MATH_32 = 0x0C"),
ADD_SRC_64_BITS = (015, "ADD | SRC | MATH_64 = 0x0F"),
AND_IMM_32_BITS = (084, "AND | IMM | MATH_32 = 0x54"),
AND_IMM_64_BITS = (087, "AND | IMM | MATH_64 = 0x57"),
AND_RIGHT_SHIFT_IMM_32_BITS = (196, "AND_RIGHT_SHIFT | IMM | MATH_32 = 0xC4"),
AND_RIGHT_SHIFT_IMM_64_BITS = (199, "AND_RIGHT_SHIFT | IMM | MATH_64 = 0xC7"),
AND_RIGHT_SHIFT_SRC_32_BITS = (204, "AND_RIGHT_SHIFT | SRC | MATH_32 = 0xCC"),
AND_RIGHT_SHIFT_SRC_64_BITS = (207, "AND_RIGHT_SHIFT | SRC | MATH_64 = 0xCF"),
AND_SRC_32_BITS = (092, "AND | SRC | MATH_32 = 0x5C"),
AND_SRC_64_BITS = (095, "AND | SRC | MATH_64 = 0x5F"),
CALL_IMM_32_BITS = (134, "CALL | IMM | JUMP_32 = 0x86"),
CALL_IMM_64_BITS = (133, "CALL | IMM | JUMP_64 = 0x85"),
CALL_SRC_32_BITS = (142, "CALL | SRC | JUMP_32 = 0x8E"),
CALL_SRC_64_BITS = (141, "CALL | SRC | JUMP_64 = 0x8D"),
DIVIDE_IMM_32_BITS = (052, "DIVIDE | IMM | MATH_32 = 0x34"),
DIVIDE_IMM_64_BITS = (055, "DIVIDE | IMM | MATH_64 = 0x37"),
DIVIDE_SRC_32_BITS = (060, "DIVIDE | SRC | MATH_32 = 0x3C"),
DIVIDE_SRC_64_BITS = (063, "DIVIDE | SRC | MATH_64 = 0x3F"),
EXIT_IMM = (149, "EXIT | IMM | JUMP_64 = 0x95"),
EXIT_SRC = (157, "EXIT | SRC | JUMP_64 = 0x9D"),
GO_TO_IMM = (005, "GO_TO | IMM | JUMP_64 = 0x05"),
GO_TO_SRC = (013, "GO_TO | SRC | JUMP_64 = 0x0D"),
IF_AND_GO_IMM_32_BITS = (070, "IF_AND_GO | IMM | JUMP_32 = 0x46"),
IF_AND_GO_IMM_64_BITS = (069, "IF_AND_GO | IMM | JUMP_64 = 0x45"),
IF_AND_GO_SRC_32_BITS = (078, "IF_AND_GO | SRC | JUMP_32 = 0x4E"),
IF_AND_GO_SRC_64_BITS = (077, "IF_AND_GO | SRC | JUMP_64 = 0x4D"),
IF_EQ_GO_IMM_32_BITS = (022, "IF_EQ_GO | IMM | JUMP_32 = 0x16"),
IF_EQ_GO_IMM_64_BITS = (021, "IF_EQ_GO | IMM | JUMP_64 = 0x15"),
IF_EQ_GO_SRC_32_BITS = (030, "IF_EQ_GO | SRC | JUMP_32 = 0x1E"),
IF_EQ_GO_SRC_64_BITS = (029, "IF_EQ_GO | SRC | JUMP_64 = 0x1D"),
IF_GE_GO_IMM_32_BITS = (118, "IF_GE_GO | IMM | JUMP_32 = 0x76"),
IF_GE_GO_IMM_64_BITS = (117, "IF_GE_GO | IMM | JUMP_64 = 0x75"),
IF_GE_GO_SRC_32_BITS = (126, "IF_GE_GO | SRC | JUMP_32 = 0x7E"),
IF_GE_GO_SRC_64_BITS = (125, "IF_GE_GO | SRC | JUMP_64 = 0x7D"),
IF_GT_GO_IMM_32_BITS = (102, "IF_GT_GO | IMM | JUMP_32 = 0x66"),
IF_GT_GO_IMM_64_BITS = (101, "IF_GT_GO | IMM | JUMP_64 = 0x65"),
IF_GT_GO_SRC_32_BITS = (110, "IF_GT_GO | SRC | JUMP_32 = 0x6E"),
IF_GT_GO_SRC_64_BITS = (109, "IF_GT_GO | SRC | JUMP_64 = 0x6D"),
IF_LE_GO_IMM_32_BITS = (214, "IF_LE_GO | IMM | JUMP_32 = 0xD6"),
IF_LE_GO_IMM_64_BITS = (213, "IF_LE_GO | IMM | JUMP_64 = 0xD5"),
IF_LE_GO_SRC_32_BITS = (222, "IF_LE_GO | SRC | JUMP_32 = 0xDE"),
IF_LE_GO_SRC_64_BITS = (221, "IF_LE_GO | SRC | JUMP_64 = 0xDD"),
IF_LT_GO_IMM_32_BITS = (198, "IF_LT_GO | IMM | JUMP_32 = 0xC6"),
IF_LT_GO_IMM_64_BITS = (197, "IF_LT_GO | IMM | JUMP_64 = 0xC5"),
IF_LT_GO_SRC_32_BITS = (206, "IF_LT_GO | SRC | JUMP_32 = 0xCE"),
IF_LT_GO_SRC_64_BITS = (205, "IF_LT_GO | SRC | JUMP_64 = 0xCD"),
IF_NOT_GO_IMM_32_BITS = (086, "IF_NOT_GO | IMM | JUMP_32 = 0x56"),
IF_NOT_GO_IMM_64_BITS = (085, "IF_NOT_GO | IMM | JUMP_64 = 0x55"),
IF_NOT_GO_SRC_32_BITS = (094, "IF_NOT_GO | SRC | JUMP_32 = 0x5E"),
IF_NOT_GO_SRC_64_BITS = (093, "IF_NOT_GO | SRC | JUMP_64 = 0x5D"),
IF_UINT_GE_GO_IMM_32_BITS = (054, "IF_UINT_GE_GO | IMM | JUMP_32 = 0x36"),
IF_UINT_GE_GO_IMM_64_BITS = (053, "IF_UINT_GE_GO | IMM | JUMP_64 = 0x35"),
IF_UINT_GE_GO_SRC_32_BITS = (062, "IF_UINT_GE_GO | SRC | JUMP_32 = 0x3E"),
IF_UINT_GE_GO_SRC_64_BITS = (061, "IF_UINT_GE_GO | SRC | JUMP_64 = 0x3D"),
IF_UINT_GT_GO_IMM_32_BITS = (038, "IF_UINT_GT_GO | IMM | JUMP_32 = 0x26"),
IF_UINT_GT_GO_IMM_64_BITS = (037, "IF_UINT_GT_GO | IMM | JUMP_64 = 0x25"),
IF_UINT_GT_GO_SRC_32_BITS = (046, "IF_UINT_GT_GO | SRC | JUMP_32 = 0x2E"),
IF_UINT_GT_GO_SRC_64_BITS = (045, "IF_UINT_GT_GO | SRC | JUMP_64 = 0x2D"),
IF_UINT_LE_GO_IMM_32_BITS = (182, "IF_UINT_LE_GO | IMM | JUMP_32 = 0xB6"),
IF_UINT_LE_GO_IMM_64_BITS = (181, "IF_UINT_LE_GO | IMM | JUMP_64 = 0xB5"),
IF_UINT_LE_GO_SRC_32_BITS = (190, "IF_UINT_LE_GO | SRC | JUMP_32 = 0xBE"),
IF_UINT_LE_GO_SRC_64_BITS = (189, "IF_UINT_LE_GO | SRC | JUMP_64 = 0xBD"),
IF_UINT_LT_GO_IMM_32_BITS = (166, "IF_UINT_LT_GO | IMM | JUMP_32 = 0xA6"),
IF_UINT_LT_GO_IMM_64_BITS = (165, "IF_UINT_LT_GO | IMM | JUMP_64 = 0xA5"),
IF_UINT_LT_GO_SRC_32_BITS = (174, "IF_UINT_LT_GO | SRC | JUMP_32 = 0xAE"),
IF_UINT_LT_GO_SRC_64_BITS = (173, "IF_UINT_LT_GO | SRC | JUMP_64 = 0xAD"),
LEFT_SHIFT_IMM_32_BITS = (100, "LEFT_SHIFT | IMM | MATH_32 = 0x64"),
LEFT_SHIFT_IMM_64_BITS = (103, "LEFT_SHIFT | IMM | MATH_64 = 0x67"),
LEFT_SHIFT_SRC_32_BITS = (108, "LEFT_SHIFT | SRC | MATH_32 = 0x6C"),
LEFT_SHIFT_SRC_64_BITS = (111, "LEFT_SHIFT | SRC | MATH_64 = 0x6F"),
LOAD_IMME_IMMEDI_08_BITS = (016, "LOAD_IMME | SIZE_08 | IMMEDI = 0x10"),
LOAD_IMME_IMMEDI_16_BITS = (008, "LOAD_IMME | SIZE_16 | IMMEDI = 0x08"),
LOAD_IMME_IMMEDI_32_BITS = (000, "LOAD_IMME | SIZE_32 | IMMEDI = 0x00"),
LOAD_IMME_IMMEDI_64_BITS = (024, "LOAD_IMME | SIZE_64 | IMMEDI = 0x18"),
LOAD_IMME_MEMORY_08_BITS = (112, "LOAD_IMME | SIZE_08 | MEMORY = 0x70"),
LOAD_IMME_MEMORY_16_BITS = (104, "LOAD_IMME | SIZE_16 | MEMORY = 0x68"),
LOAD_IMME_MEMORY_32_BITS = (096, "LOAD_IMME | SIZE_32 | MEMORY = 0x60"),
LOAD_IMME_MEMORY_64_BITS = (120, "LOAD_IMME | SIZE_64 | MEMORY = 0x78"),
LOAD_SRC_IMMEDI_08_BITS = (017, "LOAD_SRC | SIZE_08 | IMMEDI = 0x11"),
LOAD_SRC_IMMEDI_16_BITS = (009, "LOAD_SRC | SIZE_16 | IMMEDI = 0x09"),
LOAD_SRC_IMMEDI_32_BITS = (001, "LOAD_SRC | SIZE_32 | IMMEDI = 0x01"),
LOAD_SRC_IMMEDI_64_BITS = (025, "LOAD_SRC | SIZE_64 | IMMEDI = 0x19"),
LOAD_SRC_MEMORY_08_BITS = (113, "LOAD_SRC | SIZE_08 | MEMORY = 0x71"),
LOAD_SRC_MEMORY_16_BITS = (105, "LOAD_SRC | SIZE_16 | MEMORY = 0x69"),
LOAD_SRC_MEMORY_32_BITS = (097, "LOAD_SRC | SIZE_32 | MEMORY = 0x61"),
LOAD_SRC_MEMORY_64_BITS = (121, "LOAD_SRC | SIZE_64 | MEMORY = 0x79"),
MODULO_IMM_32_BITS = (148, "MODULO | IMM | MATH_32 = 0x94"),
MODULO_IMM_64_BITS = (151, "MODULO | IMM | MATH_64 = 0x97"),
MODULO_SRC_32_BITS = (156, "MODULO | SRC | MATH_32 = 0x9C"),
MODULO_SRC_64_BITS = (159, "MODULO | SRC | MATH_64 = 0x9F"),
MOVE_IMM_32_BITS = (180, "MOVE | IMM | MATH_32 = 0xB4"),
MOVE_IMM_64_BITS = (183, "MOVE | IMM | MATH_64 = 0xB7"),
MOVE_SRC_32_BITS = (188, "MOVE | SRC | MATH_32 = 0xBC"),
MOVE_SRC_64_BITS = (191, "MOVE | SRC | MATH_64 = 0xBF"),
MULTIPLY_IMM_32_BITS = (036, "MULTIPLY | IMM | MATH_32 = 0x24"),
MULTIPLY_IMM_64_BITS = (039, "MULTIPLY | IMM | MATH_64 = 0x27"),
MULTIPLY_SRC_32_BITS = (044, "MULTIPLY | SRC | MATH_32 = 0x2C"),
MULTIPLY_SRC_64_BITS = (047, "MULTIPLY | SRC | MATH_64 = 0x2F"),
NEGATE_IMM_32_BITS = (132, "NEGATE | IMM | MATH_32 = 0x84"),
NEGATE_IMM_64_BITS = (135, "NEGATE | IMM | MATH_64 = 0x87"),
NEGATE_SRC_32_BITS = (140, "NEGATE | SRC | MATH_32 = 0x8C"),
NEGATE_SRC_64_BITS = (143, "NEGATE | SRC | MATH_64 = 0x8F"),
OR_IMM_32_BITS = (068, "OR | IMM | MATH_32 = 0x44"),
OR_IMM_64_BITS = (071, "OR | IMM | MATH_64 = 0x47"),
OR_SRC_32_BITS = (076, "OR | SRC | MATH_32 = 0x4C"),
OR_SRC_64_BITS = (079, "OR | SRC | MATH_64 = 0x4F"),
RIGHT_SHIFT_IMM_32_BITS = (116, "RIGHT_SHIFT | IMM | MATH_32 = 0x74"),
RIGHT_SHIFT_IMM_64_BITS = (119, "RIGHT_SHIFT | IMM | MATH_64 = 0x77"),
RIGHT_SHIFT_SRC_32_BITS = (124, "RIGHT_SHIFT | SRC | MATH_32 = 0x7C"),
RIGHT_SHIFT_SRC_64_BITS = (127, "RIGHT_SHIFT | SRC | MATH_64 = 0x7F"),
STORE_IMME_IMMEDI_08_BITS = (018, "STORE_IMME | SIZE_08 | IMMEDI = 0x12"),
STORE_IMME_IMMEDI_16_BITS = (010, "STORE_IMME | SIZE_16 | IMMEDI = 0x0A"),
STORE_IMME_IMMEDI_32_BITS = (002, "STORE_IMME | SIZE_32 | IMMEDI = 0x02"),
STORE_IMME_IMMEDI_64_BITS = (026, "STORE_IMME | SIZE_64 | IMMEDI = 0x1A"),
STORE_IMME_MEMORY_08_BITS = (114, "STORE_IMME | SIZE_08 | MEMORY = 0x72"),
STORE_IMME_MEMORY_16_BITS = (106, "STORE_IMME | SIZE_16 | MEMORY = 0x6A"),
STORE_IMME_MEMORY_32_BITS = (098, "STORE_IMME | SIZE_32 | MEMORY = 0x62"),
STORE_IMME_MEMORY_64_BITS = (122, "STORE_IMME | SIZE_64 | MEMORY = 0x7A"),
STORE_SRC_ATOMIC_32_BITS = (195, "STORE_SRC | SIZE_32 | ATOMIC = 0xC3"),
STORE_SRC_ATOMIC_64_BITS = (219, "STORE_SRC | SIZE_64 | ATOMIC = 0xDB"),
STORE_SRC_IMMEDI_08_BITS = (019, "STORE_SRC | SIZE_08 | IMMEDI = 0x13"),
STORE_SRC_IMMEDI_16_BITS = (011, "STORE_SRC | SIZE_16 | IMMEDI = 0x0B"),
STORE_SRC_IMMEDI_32_BITS = (003, "STORE_SRC | SIZE_32 | IMMEDI = 0x03"),
STORE_SRC_IMMEDI_64_BITS = (027, "STORE_SRC | SIZE_64 | IMMEDI = 0x1B"),
STORE_SRC_MEMORY_08_BITS = (115, "STORE_SRC | SIZE_08 | MEMORY = 0x73"),
STORE_SRC_MEMORY_16_BITS = (107, "STORE_SRC | SIZE_16 | MEMORY = 0x6B"),
STORE_SRC_MEMORY_32_BITS = (099, "STORE_SRC | SIZE_32 | MEMORY = 0x63"),
STORE_SRC_MEMORY_64_BITS = (123, "STORE_SRC | SIZE_64 | MEMORY = 0x7B"),
SUBSTRACT_IMM_32_BITS = (020, "SUBSTRACT | IMM | MATH_32 = 0x14"),
SUBSTRACT_IMM_64_BITS = (023, "SUBSTRACT | IMM | MATH_64 = 0x17"),
SUBSTRACT_SRC_32_BITS = (028, "SUBSTRACT | SRC | MATH_32 = 0x1C"),
SUBSTRACT_SRC_64_BITS = (031, "SUBSTRACT | SRC | MATH_64 = 0x1F"),
TO_ENDIAN_BIG_32_BITS = (220, "TO_ENDIAN | SRC | MATH_32 = 0xDC"),
TO_ENDIAN_BIG_64_BITS = (223, "TO_ENDIAN | SRC | MATH_64 = 0xDF")
TO_ENDIAN_LOW_32_BITS = (212, "TO_ENDIAN | IMM | MATH_32 = 0xD4"),
TO_ENDIAN_LOW_64_BITS = (215, "TO_ENDIAN | IMM | MATH_64 = 0xD7"),
XOR_IMM_32_BITS = (164, "XOR | IMM | MATH_32 = 0xA4"),
XOR_IMM_64_BITS = (167, "XOR | IMM | MATH_64 = 0xA7"),
XOR_SRC_32_BITS = (172, "XOR | SRC | MATH_32 = 0xAC"),
XOR_SRC_64_BITS = (175, "XOR | SRC | MATH_64 = 0xAF"),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment