Lines Matching refs:SP
56 our $SP; # stack-pointer
175 $SP = $params[0];
432 printf "... Stack(%d):\r\n", $SP;
433 for my $n ( 0 .. $SP ) {
543 $titlestack[$SP] = $text;
544 $item_stack[$SP] = $opt;
545 $mode_stack[$SP] = $TM;
559 ++$SP;
560 $titlestack[$SP] = $titlestack[ $SP - 1 ];
561 $item_stack[$SP] = $opt;
562 $mode_stack[$SP] = $mode_stack[ $SP - 1 ];
569 if ( $opt >= 0 and $SP > 0 ) {
570 $opt = $item_stack[$SP] if ($set);
572 $SP--;
638 $SP = 0;
639 $titlestack[$SP] = "unknown";
640 $item_stack[$SP] = 0;
641 $mode_stack[$SP] = $TM = 0;
667 printf "\r\n[$SP:$SQ] Command (? for help):";
722 while ( $SP > 0 ) {