Electronic Components Datasheet Search
  English  ▼

X  

SM5K3 Datasheet(PDF) 23 Page - Sharp Corporation

Part # SM5K3
Description  4-Bit Single-Chip Microcomputers(Controllers With 10-Bit A/D Converter)
PDF  28 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  SHARP [Sharp Corporation]
Direct Link  http://sharp-world.com/
Logo SHARP - Sharp Corporation

SM5K3 Datasheet(HTML) 23 Page - Sharp Corporation

Back Button SM5K3 Datasheet HTML 19Page - Sharp Corporation SM5K3 Datasheet HTML 20Page - Sharp Corporation SM5K3 Datasheet HTML 21Page - Sharp Corporation SM5K3 Datasheet HTML 22Page - Sharp Corporation SM5K3 Datasheet HTML 23Page - Sharp Corporation SM5K3 Datasheet HTML 24Page - Sharp Corporation SM5K3 Datasheet HTML 25Page - Sharp Corporation SM5K3 Datasheet HTML 26Page - Sharp Corporation SM5K3 Datasheet HTML 27Page - Sharp Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 23 / 28 page
background image
- 23 -
INSTRUCTION SET
Definition of Symbols
M
: Content of RAM at the address defined
by the B register.
: Transfer direction
: Logical OR
: Logical AND
: Exclusive OR
Ai
: An i bit of A register (i = 3 to 0)
Push
: Saves the contents of PC to stack
register SR.
Pop
: Returns the contents saved in the stack
register back to PC.
Pj
: Indicates output latch register or input
register. Pj ( j = 0, 1, 2, 3, 4, 5)
Rj
: Mode register. Rj register ( j = 3, A, B,
C, E, F)
ROM ( ) : Content stored in ROM location defined
by the value in ( ).
CY
: Carry in ALU (independent of C flag)
The CY(carry) is a signal which is
generated when the ALU has been
carried by the execution of a command.
It is different from the C flag.
X
: Used to represent a group of bits in the
content of a register or memory. For
example, the X in the LDAX instruction
denotes the lower 2 digits (I1 and I0) of A
register.
• A bit in a register is affixed to the register symbol,
e.g. a bit (i = 0, 1, 2, 3....) of X register is
expressed as Xi and P (R) register as P (R) i.
• Increment means binary addition of 1H and
decrement addition of FH.
• Skipping an instruction means to ignore that
instruction and to do nothing until starting the next
instruction. In this sense, an instruction to be
skipped is treated as an NOP instruction.
Skipping 1-byte instruction requires 1-cycle, and
2-byte instruction 2-cycle. Skipping 1-byte 2-cycle
instruction requires 1-cycle.
SM5K3/SM5K4/SM5K5
MNEMONIC
MACHINE CODE
OPERATION
ROM Addressing Instructions
TR x
80 to BF
PL
←x (I5-I0)
TL xy
E0 to E7,
00 to FF
PU
←x (I11-I6)
PL
←y (I5-I0)
TRS x
C0 to DF
Push, PU
←01H,
PL
←x (I4, I3, I2, I1, I0)
CALL xy
F0 to F7
00 to FF
Push, PU
←x (I11-I6)
PL
←y (I5-I0)
RTN
7D
Pop
RTNS
7E
Pop, Skip the next step
RTNI
7F
Pop, IME
←1
Data Load Instructions
LAX x
10 to 1F
A
←x (I3-I0)
LBMX x
30 to 3F
BM
←x (I3-I0)
LBLX x
20 to 2F
BL
←x (I3-I0)
LDA x
50 to 53
A
←M, BMi←BMi ⊕ x (I1, I0),
(i = 1, 0)
EXC x
54 to 57
M
↔A, BMi←BMi ⊕ x (I1, I0),
(i = 1, 0)
EXCI x
58 to 5B
M
↔A, BL←BL+1
BMi
←BMi ⊕ x (I1, I0), (i = 1, 0)
Skip the next step, if result
of BL = 0
EXCD x
5C to 5F
M
↔A, BL←BL–1
BMi
←BMi ⊕ x (I1, I0), (i = 1, 0)
Skip the next step, if result
of BL is = FH
EXAX
64
A
↔X-reg
ATX
65
X-reg
←A
EXBM
66
BM
↔A
EXBL
67
BL
↔A
EX
68
B
↔SB
Instruction Summary



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com