Skip to content

Instantly share code, notes, and snippets.

@riptl
Last active July 7, 2022 16:21
Show Gist options
  • Save riptl/9efd5ae4b45e40365ee1027941efd052 to your computer and use it in GitHub Desktop.
Save riptl/9efd5ae4b45e40365ee1027941efd052 to your computer and use it in GitHub Desktop.
SBF opcodes Solana mainnet slot 139240745
opcode mnemonic num_programs num_insns
0x05 JA 3378 4575210
0x07 ADD64_IMM 3378 12310893
0x0f ADD64_REG 3378 1631572
0x15 JEQ_IMM 3378 3253085
0x18 LD_DW_IMM 3379 3771402
0x1d JEQ_REG 3363 247250
0x1f SUB64_REG 3345 514578
0x25 JGT_IMM 3370 697157
0x27 MUL64_IMM 3375 250869
0x2d JGT_REG 3374 1070902
0x2f MUL64_REG 3321 143696
0x37 DIV64_IMM 3306 95617
0x3d JGE_REG 3317 156058
0x3f DIV64_REG 1992 13567
0x47 OR64_IMM 3287 226389
0x4f OR64_REG 3340 683103
0x55 JNE_IMM 3378 2839348
0x57 AND64_IMM 3376 1063603
0x5d JNE_REG 3366 195686
0x5f AND64_REG 3318 557215
0x61 LD_W_REG 3331 925277
0x63 ST_W_REG 3342 991437
0x65 JSGT_IMM 3350 405958
0x67 LSH64_IMM 3355 1066921
0x69 LD_H_REG 3255 191894
0x6b ST_H_REG 3334 237427
0x6d JSGT_REG 3324 91370
0x6f LSH64_REG 3021 66317
0x71 LD_B_REG 3378 1764992
0x73 ST_B_REG 3377 1630398
0x75 JSGE_IMM 34 141
0x77 RSH64_IMM 3361 1413637
0x79 LD_DW_REG 3379 21941550
0x7b ST_DW_REG 3378 19597432
0x7d JSGE_REG 3071 17127
0x7f RSH64_REG 3262 52044
0x85 CALL_IMM 3376 11550195
0x87 NEG64 3306 97866
0x8d CALL_REG 3252 271743
0x95 EXIT 3382 1649170
0xa7 XOR64_IMM 3278 87115
0xaf XOR64_REG 3267 70707
0xb7 MOV64_IMM 3382 11827892
0xbf MOV64_REG 3378 23055074
0xc7 ARSH64_IMM 3321 137036
0xcf ARSH64_REG 43 86
0xdc BE 371 2069
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment