Motorola DSP96002 User Manual page 603

32-bit digital signal processor
Table of Contents

Advertisement

OUTPUT
Address register r5 should point to a display list data area when the polyline generator is called. Afterwards,
the display list will be in the following format:
Polygon1:
Delimiter
Polygon2:
All coordinates are in IEEE single-precision floating-point format to speed up the DSP96002 floating-point
incremental line drawing algorithm.
ADDRESS REGISTER USAGE
Four address registers are used:
r0
input list
r1
temporary coordinates
r4
transformation matrix, scale and offset for 2D transformation
r5
output list
r6
miscellaneous scratchpad memory
B-84
X1,Y1
X2,Y2
X3,Y3
-1.0
X1,Y1
X2,Y2
Delimiter
PolygonM:
X1,Y1
Xn,Yn
-2.0
DSP96002 USER'S MANUAL
Xn,Yn
-1.0
MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents