Crossware

Table of Contents        Previous topic       Next topic       

MICROPROCESSOR INSTRUCTION REFERENCE->TBLSN

TBLSN    Signed Table Lookup and Interpolate (Not rounded)

Compatibility: CPU32 only.


ENTRY(n)*256+{(ENTRY(n+1)-ENTRY(n))*Dx[7:0]} -> Dx
     
where ENTRY(n) and ENTRY(n+1) are either:
- consequtive entries in the table pointed to by <ea> and indexed by
 Dx[15:8]*size or
- the data registers Dym, Dyn respectively.

    
Allowable Addressing Modes for <ea>,Dx
    
TBLSN  (An),Dx
TBLSN  (d16,An),Dx
TBLSN  (d8,An,Xn),Dx
TBLSN  (bd,An,Xn),Dx
TBLSN  (xxx).W,Dx
TBLSN  (xxx).L,Dx
TBLSN  (d16,PC),Dx
TBLSN  (d8,PC,Xn),Dx
TBLSN  (bd,PC,Xn),Dx
    
Size:Byte, Word, Long
    
Assembler Syntax:TBLSN[.<size>] <ea>,Dx
TBLSN[.<size>] Dym:Dyn,Dx