
ORG 0000H
                      LJMP MAIN
                      ORG 0030H
MAIN:                 LCALL SERIAL_INIT         ;serial Init without interrupt
AGAIN:                JNB RI,$
                      MOV A,SBUF
                      CLR RI
                      MOV B,#002H
                      MUL AB                    ;multiplieng to get the exact location
                      MOV DPTR,#MY_TABLE        ;moving the DPTR to my table value
                      MOVC A,@A+DPTR            ;now the A holds the data of exact location but the prob is how to branch there :-(
                      JMP @A+DPTR               ;MOST IMPORTANT INSTRUCION
                      SJMP AGAIN

MY_TABLE:             SJMP LOC1                 ;My table here
                      SJMP LOC2
                      SJMP LOC3
                      SJMP LOC4
                      SJMP LOC5

                      END
                      
