If a packet is read then check it with exor over all bytes and branch. Set the indirect register to byte 3 if long adress is detected. If short adress then set indirect register to 2nd byte.