MOTOROLA
DSP96002 USER’S MANUAL
B-81
cmp d4,d2
dec d6 ifge
jsr _draw_point
_line_y_xn
rts
; Increment x case
; If dx is negative, switch endpoints and sign of dx and dy
_inc_x
tst d0
jeq _draw1
tfr d4,d6 iflt
tfr d5,d7 iflt
neg d0 iflt
neg d1 iflt
tst d1
jlt _set_x_yn
; Increment x, dy positive case
; Set up registers
_set_x_yp
lsr d0 d0.l,d2.l
dec d2 d2.l,d4.l
move d0.l,r0
move d2.l,m0
move d1.l,n0
move d1.l,d5.l
; Draw first point
jsr _draw_point
; Draw additional points
do d4.l,_line_x_yp
inc d6 r0,d2.l
add d5,d2 (r0)+n0
cmp d4,d2
inc d7 ifge
jsr _draw_point
_line_x_yp
rts
; Increment x, dy negative case
; Set up registers
_set_x_yn
Summary of Contents for DSP96002
Page 3: ...1 2 DSP96002 USER S MANUAL MOTOROLA ...
Page 38: ...MOTOROLA DSP96002 USER S MANUAL 3 15 Figure 3 4 Modulo Arithmetic Unit Block Diagram ...
Page 39: ...3 16 DSP96002 USER S MANUAL MOTOROLA ...
Page 53: ...4 14 DSP96002 USER S MANUAL MOTOROLA ...
Page 76: ...MOTOROLA DSP96002 USER S MANUAL 5 23 Figure 5 8 Address Modifier Summary ...
Page 86: ...6 10 DSP96002 USER S MANUAL MOTOROLA ...
Page 101: ...MOTOROLA DSP96002 USER S MANUAL 7 15 Figure 7 9 HI Block Diagram One Port ...
Page 140: ...7 54 DSP96002 USER S MANUAL MOTOROLA ...
Page 166: ...9 10 DSP96002 USER S MANUAL MOTOROLA ...
Page 181: ...MOTOROLA DSP96002 USER S MANUAL 10 15 Figure 10 8 Program Address Bus FIFO ...
Page 337: ...MOTOROLA DSP96002 USER S MANUAL A 149 ...
Page 404: ...A 216 DSP96002 USER S MANUAL MOTOROLA PC xxxx D ...
Page 460: ...A 272 DSP96002 USER S MANUAL MOTOROLA SIOP Not affected ...
Page 484: ...A 296 DSP96002 USER S MANUAL MOTOROLA SSH PC SSL SR SP 1 SP ...
Page 519: ...MOTOROLA DSP96002 USER S MANUAL A 331 ...
Page 718: ...MOTOROLA DSP96002 USER S MANUAL B 199 ...
Page 871: ... MOTOROLA INC 1994 MOTOROLA TECHNICAL DATA SEMICONDUCTOR M Addendum ...
Page 888: ...MOTOROLA INDEX 1 INDEX ...
Page 889: ......