English
Language : 

SM8521 Datasheet, PDF (8/56 Pages) Sharp Electrionic Components – 8-Bit Single-Chip Microcomputer
SM8521
SM85CPU
The SM85CPU is an 8-bit CPU with an unique
architecture, developed by SHARP, and the
following features.
General purpose register architectures
• There are eight 8-bit general purpose registers
(also serve as four 16-bit general purpose
registers) and four 16-bit general purpose
registers serve as accumulator, index register, or
the pointer registers.
• There are data transfer, arithmetic and conditional
branch instructions for 16-bit. It can rapidly
process the word-sized and long jump.
• There are 8-bit x 8-bit→16-bit multiplication and
16-bit x 16-bit→16-bit remaining 8-bit division
instructions. (Unsigned arithmetic)
23 address modes
• The rich address modes provides optimal access
to ROM, RAM and the register files.
General purpose register allocated at RAM
• The general purpose registers access the RAM
location by the register pointer RP. So pushing
the register during an interrupt and passing
parameter to subroutine can be executed in High
speed.
Refined instruction set
• The instruction set contains total 67 members : 8
load instructions, 19 arithmetic instructions, 7 logic
instructions, 9 program control (branch) instruction,
8 bit manipulation instructions, 8 rotate & shift
instructions and 9 CPU control instructions.
• There are 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. (Refer to Table 1)
Illegal instruction detecting function
• When an error code is detected, a non-maskable
interrupt (NMI) will be generated.
Standby function
• There are two standby modes, HALT and STOP
mode, and the mode can be changed by HALT
instruction or STOP instruction respectively.
Table 1 Instruction summary
TYPE
Load instruction
Arithmetic instruction
Logic instruction
Program control instruction
Bit manipulation instruction
Rotate & shift instruction
CPU control instruction
INSTRUCTION
CLR, MOV, MOVM, MOVW, POP, POPW, PUSH, PUSHW
ADC, ADCW, ADD, ADDW, CMP, CMPW, DA, DEC, DECW, DIV,
EXTS, INC, INCW, MULT, NEG, SBC, SBCW, SUB, SUBW
AND, ANDW, COM, OR, ORW, XOR, XORW
BBC, BBS, BR, CALL, CALS, DBNZ, IRET, JMP, RET
BAND, BCLR, BCMP, BMOV, BOR, BTST, BSET, BXOR
RL, RLC, RR, RRC, SLL, SRA, SRL, SWAP
COMC, CLRC, DI, EI, HALT, NOP, SETC, STOP
NUMBER
8
19
7
9
8
8
8
Total 67
-8-