English
Language : 

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 -