Skip to main content

Module pcode

Module pcode 

Source
Expand description

P-Code bytecode decoding.

This module handles the VB6 P-Code instruction set:

  • Opcode tables (opcode): Static lookup tables for all 6 dispatch tables (1536 entries total), generated at build time from a CSV source.
  • Operands (operand): Typed operand representation and format string decoding.
  • Decoder (decoder): A streaming InstructionIterator that yields decoded instructions from a P-Code byte stream.
  • Display (display): Human-readable formatting for disassembly output.

Modulesยง

calltarget
Call target resolution for P-Code call operands.
decoder
P-Code instruction decoder and streaming iterator.
display
Display formatting for P-Code instructions and operands.
framevar
Frame variable resolution for P-Code stack offsets.
opcode
Opcode definitions and dispatch table lookup.
operand
P-Code operand types and decoding.
semantics
Semantic classification of P-Code opcodes.