PIC17CXX Instruction Set


TABLRD


Syntax : TABLRD t,i,f

Description : 1. A byte of the table latch (TBLAT) is moved into 
                 register file 'f'. 
                 If 't' is 0, the low byte is moved.
                 If 't' is 1, the high byte is moved.
									
              2. The contents of the program meory location pointed to
                 by the 16-bit Table Pointer (TBLPTR) is loaded into the
                 16-bit Table Latch (TBLAT).

              3. If i=1 then TBLPTR is incremented;								 
                 If i=0 then TBLPTR is unchanged.
												

Function   :  If t=1 then TBLATH → f,
              If t=0 then TBLATL → f,
              Progr Mem(TBLPTR) → TBLAT,
              if i=1 then TBLPTR + 1 → TBLPTR.	      


Hex code : A8ff

Bit field:
1010 10ti ffff ffff

Words : 1

Cycles : 2(3) (3 cycles if f=PCL)

Affected flags : None

See also : TABLWT,   TLRD,   TLWT
Previous    Upper level    Next