more and better documentation and some reorganisation
[rrq/rrqforth.git] / adoc / p_shift_left.adoc
1 // math.asm:    WORD p_shift_left, '<<',fasm
2
3 anchor:p_shift_left[]
4
5 === Word: <<
6
7 ....
8 Data stack: ( v1 n -- v2 )
9 ....
10
11 "<<" is a function word that shifts value v1 n steps left (i.e.
12 "moving" bits towards more significant bits) to form value v2.