Function immediate_size

pub const fn immediate_size(op: OpCodeInfo, n: u8) -> OpCodeInfo
Expand description

Used for OPCODE_INFO to set the immediate bytes number in the OpCodeInfo.

RJUMPV is special case where the bytes len is depending on bytecode value, for RJUMPV size will be set to one byte while minimum is two.