MC68340PV16VE Freescale Semiconductor, MC68340PV16VE Datasheet - Page 166

no-image

MC68340PV16VE

Manufacturer Part Number
MC68340PV16VE
Description
IC MCU 32BIT 16MHZ 144-LQFP
Manufacturer
Freescale Semiconductor
Datasheet

Specifications of MC68340PV16VE

Processor Type
M683xx 32-Bit
Speed
16MHz
Voltage
3.3V
Mounting Type
Surface Mount
Package / Case
144-LQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Features
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC68340PV16VE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
5.3.3.10 CONDITION TESTS. Conditional program control instructions and the TRAPcc
instruction execute on the basis of condition tests. A condition test is the evaluation of a
logical expression related to the state of the CCR bits. If the result is 1, the condition is
true. If the result is 0, the condition is false. For example, the T condition is always true,
and the EQ condition is true only if the Z-bit condition code is true. Table 5-12 lists each
condition test.
5.3.4 Using the TBL Instructions
There are four TBL instructions. TBLS returns a signed, rounded byte, word, or long-word
result. TBLSN returns a signed, unrounded byte, word, or long-word result. TBLU returns
an unsigned, rounded byte, word, or long-word result. TBLUN returns an unsigned,
unrounded byte, word, or long-word result. All four instructions support two types of
interpolation data: an n-element table stored in memory and a two-element range stored in
a pair of data registers. The latter form provides a means of performing surface (3D)
interpolation between two previously calculated linear interpolations.
The following examples show how to compress tables and use fewer interpolation levels
between table entries. Example 1 (see Figure 5-7) demonstrates TBL for a 257-entry
table, allowing up to 256 interpolation levels between entries. Example 2 (see Figure 5-8)
reduces table length for the same data to four entries. Example 3 (see Figure 5-9)
demonstrates use of an 8-bit independent variable with an instruction.
MOTOROLA
* Not available for the Bcc instruction.
• = Boolean AND
+ = Boolean OR
N = Boolean NOT
Mnemonic
CC
CS
NE
EQ
VC
VS
GE
GT
F*
LS
PL
MI
LT
LE
HI
T
Freescale Semiconductor, Inc.
For More Information On This Product,
Greater or Equal
Table 5-12. Condition Tests
Overflow Clear
Greater Than
Less or Equal
Low or Same
Overflow Set
Carry Clear
Condition
Less Than
Not Equal
Carry Set
MC68340 USER’S MANUAL
Go to: www.freescale.com
Minus
False
Equal
True
High
Plus
Encoding
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111
N V
Z + N V + N V
N V + N V
N
C Z
C + Z
V + N V
Test
Z + N V Z
C
C
V
V
N
N
1
0
Z
Z
5- 29

Related parts for MC68340PV16VE