Crossware

Table of Contents        Previous topic       Next topic       

MICROPROCESSOR INSTRUCTION REFERENCE->TBLU

TBLU      Unsigned Table Lookup and Interpolate (Rounded)

Compatibility: CPU32 only.


ENTRY(n)+{(ENTRY(n+1)-ENTRY(n))*Dx[7:0]}/256 -> 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
    
TBLU(An),Dx
TBLU(d16,An),Dx
TBLU(d8,An,Xn),Dx
TBLU(bd,An,Xn),Dx
TBLU(xxx).W,Dx
TBLU(xxx).L,Dx
TBLU(d16,PC),Dx
TBLU(d8,PC,Xn),Dx
TBLU(bd,PC,Xn),Dx
    
Size:Byte, Word, Long
    
Assembler Syntax:TBLU[.<size>] <ea>,Dx
TBLU[.<size>] Dym:Dyn,Dx