Opcodes · bitwise · enabled
OP_LSHIFTBIN (0x98)
Logical left shift of a byte string by `bits`, keeping its length: zeros shift in from the right and bits shifted out on the left are dropped. This byte was the disabled OP_LSHIFT before May 2026.
Verified
- Stack in → out
- bin bits → bin<<bits
- Cost
- Base instruction cost 100 plus the byte length of the pushed result (2025 VM limits).
- Bitcoin status
- Disabled in Bitcoin (BTC)0x98 is the disabled OP_LSHIFT in BTC; an OP_SUCCESS code in Tapscript.
Example
<0x0f> OP_4 OP_LSHIFTBIN <0xf0> OP_EQUAL Step through it opcode by opcode in Bitauth IDE, the in-browser BCH VM debugger.