RDC
®
RISC DSP Controller
R8810LV
RDC Semiconductor Co.
Rev:1.2
Subject to change without notice
77
Function
Format
Clocks
Notes
BIT MANIPULATION INSTRUCTUIONS
NOT =
Invert register/memory
1111011w
mod 010 r/m
1/7
AND =
And
reg/memory and register to either
001000dw
mod reg r/m
1/7
immediate to register/memory
1000000w
mod 100 r/m
data
data if w=1
1/8
immediate to accumulator
0010010w
data
data if w=1
1
OR =
Or
reg/memory and register to either
000010dw
mod reg r/m
1/7
immediate to register/memory
1000000w
mod 001 r/m
data
data if w=1
1/8
immediate to accumulator
0000110w
data
data if w=1
1
XOR =
Exclusive or
reg/memory and register to either
001100dw
mod reg r/m
1/7
immediate to register/memory
1000000w
mod 110 r/m
data
data if w=1
1/8
immediate to accumulator
0011010w
data
data if w=1
1
TEST =
And function to flags , no result
register/memory and register
1000010w
mod reg r/m
1/7
immediate data and register/memory
1111011w
mod 000 r/m
data
data if w=1
1/8
immediate data and accumulator
1010100w
data
data if w=1
1
Sifts/Rotates
register/memory by 1
1101000w
mod TTT r/m
2/8
register/memory by CL
1101001w
mod TTT r/m
1+n / 7+n
register/memory by Count
1100000w
mod TTT r/m
count
1+n / 7+n
STRING MANIPULATION INSTRUCTIONS
MOVS =
Move byte/word
1010010w
13
INS
= Input byte/word from DX port
0110110w
13
OUTS =
Output byte/word to DX port
0110111w
13
CMPS =
Compare byte/word
1010011w
18
SCAS =
Scan byte/word
101011w
13
LODS =
Load byte/word to AL/AX
1010110w
13
STOS =
Store byte/word from AL/AX
1010101w
7
Repeated by count in CX:
MOVS =
Move byte/word
11110010
1010010w
4+9n
INS =
Input byte/word from DX port
11110010
0110110w
5+9n
OUTS =
Output byte/word to DX port
11110010
0110111w
5+9n
CMPS =
Compare byte/word
1111011z
1010011w
4+18n
SCAS =
Scan byte/word
1111001z
1010111w
4+13n
LODS =
Load byte/word to AL/AX
11110010
0101001w
3+9n
STOS =
Store byte/word from AL/AX
11110100
0101001w
4+3n
PROGRAM TRANSFER INSTRUCTIONS
Conditional Transfers
—
jump if:
JE/JZ =
equal/zero
01110100
disp
1/9
JL/JNGE =
less/not greater or equal
01111100
disp
1/9
JLE/JNG =
less or equal/not greater
01111110
disp
1/9
JC/JB/JNAE =
carry/below/not above or equal
01110010
disp
1/9
JBE/JNA =
below or equal/not above
01110110
disp
1/9
JP/JPE =
parity/parity even
01111010
disp
1/9
JO =
overflow
01110000
disp
1/9
JS =
sign
01111000
disp
1/9
JNE/JNZ =
not equal/not zero
01110101
disp
1/9
JNL/JGE =
not less/greater or equal
01111101
disp
1/9
JNLE/JG =
not less or equal/greater
01111111
disp
1/9
JNC/JNB/JAE =
not carry/not below
01110011
disp
1/9
/above or equal
JNBE/JA =
not below or equal/above
01110111
disp
1/9
JNP/JPO =
not parity/parity odd
01111011
disp
1/9
JNO =
not overflow
01110001
disp
1/9
JNS =
not sign
01111001
disp
1/9