Sony CXD2701Q Data Book page 150

Semiconductor ic, digital audio ics
Table of Contents

Advertisement

SONY,
CXD1160AP'AQ
(4)
Loop jump
Sets
the
number
of
loops
(0 to
1
5)
in
the
4
bit
loop counter
to
repeatedly
execute a
certain
group
of
commands
(1
to
16
times),
Loop
counter
set
LCS
(C)
115 114 113
112
111
110
[5
14
H
L
L
L
Ca
0101041
«
M umber
of
loops
C=Z2-'C
15
£0 SO
Sets
the
number
of
loops
in
the loop
counter
Loop
counter
and
loop
address
set
LTS
(C)
115 114 113
112
111
110 15
14
H
L
L
H
Ci
Ci
C|
Co
Number
of
loops
r>X2"Ci
15SC
so
Sets
the
number
of
loops
in
the loop
counter
and
also
pushes
into
the
stack
the next
instruction
address
(loop
head
address)
Loop address
set
LPS
Loop jump
LPJ
115
111
110
15
14
L
H
H
115
111
!10
15
14
L
L
H
Pushes
the next
instruction
address
(loop
head
address)
into
the next
instruction
address
Decrements
the loop
counter value
(T)
C£0
jumps
to
the
address
in
the stack
©
C<0
Pops
out the
stack
and
proceeds
in
order
to
the
command
of
the following
address
Example)
Program
LTS
(1)
Command
group
A
LPJ
Command
group
B
Execution
LTS
1-»C
Command
group
A
LPJ
C-1= 0-»C
(50
)
Command
group
A
LPJ
C-1= -1-»C
(
<0
)
Command
group
B
The
stack
has a double
structure,
Accordingly, the
following
can be
executed.
The
subroutine
inside the
subroutine
The
loop
jump
inside the
sub
routine
The
subroutine
inside the
loop
jump
The
loop
jump
inside
the loop
jump
cannot
be
executed
146-

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents