Motorola DSP96002 User Manual page 599

32-bit digital signal processor
Table of Contents

Advertisement

neg
neg
tst
jlt
; Increment y, dx positive case
; Set up registers
_set_y_xp
lsr
dec
move
move
move
move
; Draw first point
jsr
; Draw additional points
do
inc
add
cmp
inc
jsr
_line_y_xp
rts
; Increment y, dx negative case
; Set up registers
_set_y_xn
lsr
dec
neg
move
move
move
; Draw first point
jsr
; Draw additional points
do
inc
add
B-80
d1
iflt
d0
iflt
d0
_set_y_xn
d1
d1.l,d2.l
d2
d2.l,d4.l
d1.l,r0
d2.l,m0
d0.l,n0
d0.l,d5.l
_draw_point
d4.l,_line_y_xp
d7
r0,d2.l
d5,d2
(r0)+n0
d4,d2
d6
ifge
_draw_point
d1
d1.l,d2.l
d2
d2.l,d4.l
d0
d1.l,r0
d2.l,m0
d0.l,n0
d0.l,d5.l
_draw_point
d4.l,_line_y_xn
d7
r0,d2.l
d5,d2
(r0)+n0
DSP96002 USER'S MANUAL
MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents