
        mov    a,BSNCcost;
        mov    dptr,#TableBase;
        movc   a,@a+dptr
        push   a;
        mov    a,BSNCcost;
        inc    dptr;
        movc   a,@a+dptr
        push   a;
        ret;          call routine pointed to by table
        ; return here
TableBase:
        dw, addrBSNr2;
        dw, addrBSNr4;
        dw, addrBSNr8;
        ; etc