◄Up► ◄Contents► ◄Index► ◄Back► ──P-Code Instructions─────────────────────────────────────────────────────── Syntax Shl<t> /* Shift Word/Long Logical Left by n bits */ Possible Instructions ShlW, ShlL See: ◄P-Code Data Types► Description Performs a left shift, popping two elements off of the stack and pushing the result onto the stack. Pseudocode equivalent: w2 = PopW(); t1 = Pop<t>(); Push<t>(t1 << w2); A left shift is all that is required to generate this instruction: wTest2 = wTest2 << wTest1; /* generates ShlW */ -♦-