example code: POP START-DECK POP START-SLOT POP END-DECK POP END-SLOT IF END-SLOT > MAX-SLOT-PER-DECK SET END-SLOT MAX-SLOT-PER-DECK ENDIF