參數(shù)資料
型號(hào): NS32FX164V-25
廠商: NATIONAL SEMICONDUCTOR CORP
元件分類: 數(shù)字信號(hào)處理
英文描述: Advanced Imaging/Communication Signal Processors
中文描述: 16-BIT, 50 MHz, MIXED DSP, PQCC68
封裝: PLASTIC, LCC-68
文件頁數(shù): 23/102頁
文件大?。?/td> 1053K
代理商: NS32FX164V-25
2.0 Architectural Description
(Continued)
curs any time the screen is moved in a purely vertical direc-
tion, as in scrolling text. It should be noted that, in both of
these cases, the choice of horizontal BITBLT direction may
be made arbitrarily.
Figure 2-22(b) demonstrates a case in which the horizontal
BITBLT direction may not be chosen arbitrarily. This is an
instance of purely horizontal movement of data (panning).
Because the movement from source to destination involves
data within the same scan line, the incorrect direction of
movement will overwrite data which will be needed later. In
this example, the correct direction is from right to left.
2.5.2.5 BITBLT Variations
The ‘‘classical’’ definition of BITBLT, as described in
‘‘Smalltalk-80 The Language and its Implementation’’, by
Adele Goldberg and David Robson, provides for three oper-
ands: source, destination and mask/texture. This third oper-
and is commonly used in monochrome systems to incorpo-
rate a stipple pattern into an area. These stipple patterns
provide the appearance of multiple shades of gray in single-
bit-per-pixel systems, in a manner similar to the ‘‘halftone’’
process used in printing.
Texture op1 Source op2 Destination
x
Destination
While the NS32FX164 and the external BPU (if used) are
essentially two-operand devices, three-operand BITBLT op-
erations can be implemented quite flexibly and efficiently by
performing the two operations serially.
2.5.3 GRAPHICS SUPPORT INSTRUCTIONS
The NS32FX164 provides eleven instructions for supporting
graphics oriented applications. These instructions are divid-
ed into three groups according to the operations they per-
form. General descriptions for each of them and the related
formats are provided in the following sections.
2.5.3.1 BITBLT (BIT-aligned BLock Transfer)
This group includes seven instructions. They are used to
move characters and objects into the frame buffer which will
be printed or displayed. One of the instructions works in
conjunction with an external BITBLT Processing Unit (BPU)
to maximize performance. The other six are executed by the
NS32FX164.
BIT-aligned BLock Transfer
Syntax: BB(function) Options
Setup:
R0
R1
R2
R3
R4
R5
R6
R7
0(SP)
base address, source data
base address, destination data
shift value
height (in lines)
first mask
second mask
source warp (adjusted)
destination warp (adjusted)
width (in words)
Function:
AND, OR, XOR, FOR, STOD
Options:
IA
Increasing Address (default option).
When IA is selected, scan lines are
transferred in the increasing BIT/BYTE
order.
DA
Decreasing Address.
S
b
S
True Source (default option).
Inverted Source.
These five instructions perform standard BITBLT operations
between source and destination blocks. The operations
available include the following:
BBAND:
src
AND
AND
OR
OR
XOR
XOR
OR
TO
TO
dst
dst
dst
dst
dst
dst
dst
dst
dst
b
src
src
b
src
src
b
src
src
src
b
src
BBOR:
BBXOR:
BBFOR:
BBSTOD:
‘src’ and ‘
b
src’ stand for ‘True Source’ and ‘Inverted
Source’ respectively; ‘dst’ stands for ‘Destination’.
Note 1:
For speed reasons, the BB instructions require the masks to be
specified with respect to the source block. In Figure 2-21 masking
was defined relative to the destination block.
Note 2:
The options
b
S and DA are not available for the BBFOR instruc-
tion.
Note 3:
BBFOR performs the same operation as BBOR with IA and S op-
tions.
Note 4:
IA and DA are mutually exclusive and so are S and
b
S.
Note 5:
The width is defined as the number of words of source data to read.
Note 6:
An odd number of bytes can be specified for the source warp.
However, word alignment of source scan lines will result in faster
execution.
The horizontal and vertical directions of the BITBLT opera-
tions performed by the above instructions, with the excep-
tion of BBFOR, are both programmable. The horizontal di-
rection is controlled by the IA and DA options. The vertical
direction is controlled by the sign of the source and destina-
tion warps. Figure 2-23 and Table 2-3 show the format of
the BB instructions and the encodings for the ‘op’ and ‘i’
fields.
23
16 15
8 7
0
0 0 0 0 0 0 D X S 0
op
i
0 0 0 0 1 1 1 0
#
D is set when the DA option is selected
#
S is set when the
b
S option is selected
#
X is set for BBAND, and it is clear for all other BB instructions
FIGURE 2-23. BB Instructions Format
TABLE 2-3. ‘op’ and ‘i’ Field Encodings
Instruction
Options
‘op’ Field
‘i’ Field
BBAND
Yes
1010
11
BBOR
Yes
0110
01
BBXOR
Yes
1110
01
BBFOR
No
1100
01
BBSTOD
Yes
0100
01
BIT-aligned Word Transfer
Syntax: BITWT
Setup:
R0
R1
R2
Base address, source word
Base address, destination double word
Shift value
The BITWT instruction performs a fast logical OR operation
between a source word and a destination double word,
stores the result into the destination double word and incre-
ments registers R0 and R1 by two. Before performing the
OR operation, the source word is shifted left (i.e., in the
direction of increasing bit numbers) by the value in register
R2.
23
相關(guān)PDF資料
PDF描述
NS32FX200-20 System Controller(系統(tǒng)控制器)
NS32FV100FV System Controller
NS32FV100-20 System Controller(系統(tǒng)控制器)
NS32FV100-25 System Controller(系統(tǒng)控制器)
NS32FX100-15 System Controller(系統(tǒng)控制器)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
NS32FX200 制造商:未知廠家 制造商全稱:未知廠家 功能描述:
NS32FX200VF 制造商:NSC 制造商全稱:National Semiconductor 功能描述:System Controller
NS32FX200VF-25 制造商:Texas Instruments 功能描述:
NS32FX210 制造商:NSC 制造商全稱:National Semiconductor 功能描述:Facsimile/Data Modem Analog Front End (AFE)
NS32FX210J 制造商:NSC 制造商全稱:National Semiconductor 功能描述:Facsimile/Data Modem Analog Front End (AFE)