◄Up► ◄Contents► ◄Index► ◄Back► ──P-Code Instructions─────────────────────────────────────────────────────── Syntax Shl<t>1 /* Shift Word Logical Left one bit */ Possible Instructions ShlW1, ShlL1 See: ◄P-Code Data Types► Description Performs a left shift by one. It pops the top stack element off of the stack, shifts it left by one, and pushes the new value back onto the stack. Pseudocode equivalent: Push<t>(Pop<t>() << 1); Simply perform a left shift by one on a variable to generate this instruction: wTest1 <<= 1; /* generates ShlW1 */ -♦-