參數資料
型號: NS32FX16-15
廠商: National Semiconductor Corporation
英文描述: FILM/M CAPACITANCE=0.001 VOLT=630
中文描述: 影像/信號處理器
文件頁數: 24/88頁
文件大?。?/td> 902K
代理商: NS32FX16-15
2.0 Architectural Description
(Continued)
Set Bit String
Syntax: SBITS
Setup:
R0
R1
R2
R3
base address of the destination
starting bit offset (signed)
number of bits to set (unsigned)
address of string look-up table
Note:
When the instruction terminates, the registers are returned un-
changed.
SBITS sets a number of contiguous bits in memory to 1, and
is typically used for data expansion operations. The instruc-
tion draws the number of ones specified by the value in R2,
starting at the bit address provided by registers R0 and R1.
In order to maximize speed and allow drawing of patterned
lines, an external 1k byte lookup table is used. The lookup
table is specified in the NS32CG16 Printer/Display Proces-
sor Programmer’s Reference Supplement.
When SBITS begins executing, it compares the value in R2
with 25. If the value in R2 is less than or equal to 25, the F
flag is cleared and the appropriate number of bits are set in
memory. If R2 is greater than 25, the F flag is set and no
other action is performed. This allows the software to use a
faster algorithm to set longer strings of bits. Figure 2-22
shows the SBITS instruction format.
23
15
8 7
0
0 0 0 0 0 0 0 0 0 0 1 1 0 1 1 1 0 0 0 0 1 1 1 0
FIGURE 2-22. SBITS Instruction Format
Set BIT Perpendicular String
Syntax: SBITPS
Setup:
R0
R1
R2
R3
base address, destination (byte address)
starting bit offset
number of bits to set
destination warp (signed value, in bits)
Note:
When the instruction terminates, the R0 and R3 registers are re-
turned unchanged. R1 becomes the final bit offset. R2 is zero.
The SBITPS can be used to set a string of bits in any direc-
tion. This allows a font to be expanded with a 90 or 270
degree rotation, as may be required in a printer application.
SBITPS sets a string of bits starting at the bit address speci-
fied in registers R0 and R1. The number of bits in the string
is specified in R2. After the first bit is set, the destination
warp is added to the bit address and the next bit is set. The
process is repeated until all the bits have been set. A nega-
tive raster warp offset value leads to a 90 degree rotation. A
positive raster warp value leads to a 270 degree rotation. If
the R3 value is
e
(space warp
a
1 or
b
1), then the result is
a 45 degree line. If the R3 value is
a
1 or
b
1, a horizontal
line results.
SBITS and SBITPS allow expansion on any 90 degree an-
gle, giving portrait, landscape and mirror images from one
font. Figure 2-23 shows the SBITPS instruction format.
23
15
8 7
0
0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 1 0 0 0 0 1 1 1 0
FIGURE 2-23. SBITPS Instruction Format
TL/EE/10818–9
FIGURE 2-24. Bus Activity for a Simple BITBLT Operation
Note 1:
This example is for a block 4 words wide and 1 line high.
Note 2:
The sequence is common with all logical operations of the DP8510/DP8511 BPU.
Note 3:
Mask values, shift values and number of bit planes do not affect the performance.
Note 4:
Zero wait states are assumed throughout the BITBLT operation.
Note 5:
The extra read is performed when the BPU pipeline register needs to be preloaded.
24
相關PDF資料
PDF描述
NS32FX16-20 Imaging/Signal Processor
NS32FX16-25 Imaging/Signal Processor
NS32FX164-20 Advanced Imaging/Communication Signal Processors(高級圖象/通訊信號處理器)
NS32FV16-25 Advanced Imaging/Communication Signal Processors
NS32FX164-25 Advanced Imaging/Communication Signal Processors(高級圖象/通訊信號處理器)
相關代理商/技術參數
參數描述
NS32FX16-20 制造商:NSC 制造商全稱:National Semiconductor 功能描述:Imaging/Signal Processor
NS32FX16-25 制造商:NSC 制造商全稱:National Semiconductor 功能描述:Imaging/Signal Processor
NS32FX164 制造商:未知廠家 制造商全稱:未知廠家 功能描述:
NS32FX164-20 制造商:NSC 制造商全稱:National Semiconductor 功能描述:Advanced Imaging/Communication Signal Processors
NS32FX164-25 制造商:NSC 制造商全稱:National Semiconductor 功能描述:Advanced Imaging/Communication Signal Processors