const fn decode_stack_immediate(immediate: u8) -> Option<usize>
Decodes the EIP-8024 DUPN/SWAPN immediate into a stack depth.
DUPN
SWAPN
Bytes 0x5b..=0x7f are invalid so that the immediate is never a JUMPDEST or PUSH opcode.
0x5b..=0x7f
JUMPDEST
PUSH