|
SM8521 Datasheet, PDF (51/56 Pages) Sharp Electrionic Components – 8-Bit Single-Chip Microcomputer | |||
|
◁ |
INSTRUCTION SET
The instruction set of the SM85CPU has the
following characteristics :
⢠The instruction set is the result of subtle
design and consists of 67 types of basic
instructions.
⢠The powerful bit manipulation instructions
includes plural bits transfer, logical operation
between bits, and the bit test and jump
instructions that incorporates a test and
condition branch in the same instruction.
⢠There are transfer, operation and conditional
branch instructions for 16-bit. The actions of
transfer, operation and long jump for word
data can be processed in High speed.
⢠There are arithmetic instructions for multi-
plication and division.
Multiplication : 8-bit x 8-bitâ16-bit
Division : 16-bit x 16-bitâ16-bit remaining
8-bit
⢠23 types of memory addressing mode
⢠By variety of memory addressing modes, the
accessing to RAM, ROM, and register file
can be operated .
SM8521
Definition of Symbols
SYMBOL
EXPLANATION
PC
Program counter
SP
Stack pointer
@SP
Indirect stack pointer
PS0
Processor status 0
PS1
Processor status 1
C
Carry flag
Z
Zero flag
S
Sign flag
V
Overflow flag
D
Decimal complement flag
H
Half carry flag
BF
Bit flag
I
Interrupt enable
dst
Destination
src
Source
cc
Condition code
Instruction Summary
Load Instructions
INSTRUCTION OPERAND
FUNCTION
CLR
dst
dstâ0 (Clear)
MOV
dst, src
dstâsrc (Move)
MOVM
dstâ(dst AND IM) OR src
dst, IM, src
(Move Under Mask)
MOVW dst, src
dstâsrc
(Move Word)
POP
dst
dstâ@SP, SPâSP+1
(Pop from Stack)
POPW dst
dstâ@SP, SPâSP+2
(Pop Word from Stack)
PUSH
src
SPâSPâ1, @SPâsrc
(Push to Stack)
PUSHW src
SPâSPâ2, @SPâsrc
(Push Word to Stack)
- 51 -
|
▷ |