Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.COM

X  

LC651204N Datasheet(PDF) 33 Page - Sanyo Semicon Device

Part # LC651204N
Description  4-Bit Single-Chip Microcontrollers for Small-Scale Control Applications
Download  35 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  SANYO [Sanyo Semicon Device]
Direct Link  https://www.sanyo-av.com/us/
Logo SANYO - Sanyo Semicon Device

LC651204N Datasheet(HTML) 33 Page - Sanyo Semicon Device

Back Button LC651204N Datasheet HTML 27Page - Sanyo Semicon Device LC651204N Datasheet HTML 28Page - Sanyo Semicon Device LC651204N Datasheet HTML 29Page - Sanyo Semicon Device LC651204N Datasheet HTML 30Page - Sanyo Semicon Device LC651204N Datasheet HTML 31Page - Sanyo Semicon Device LC651204N Datasheet HTML 32Page - Sanyo Semicon Device LC651204N Datasheet HTML 33Page - Sanyo Semicon Device LC651204N Datasheet HTML 34Page - Sanyo Semicon Device LC651204N Datasheet HTML 35Page - Sanyo Semicon Device  
Zoom Inzoom in Zoom Outzoom out
 33 / 35 page
background image
LC651204/1202 Instruction Set (by function)
Abbreviations
AC:
Accumulator
M:
Memory
ZF
:
Zero flag
ACt:
Accumulator bit t
M(DP):
Memory addressed by DP
( )[ ] :
Indicates the contents of the item enclosed.
CF:
Carry flag
P(DPL):
I/O port specified by DPL
← :
Transfer and direction
CTL:
Control register
PC:
Program counter
+
:
Addition
DP:
Data pointer
STACK:
Stack pointer
:
Subtraction
E:
E register
TM:
Timer
^
:
Logical AND
EXTF: External interrupt request flag
TMF:
Timer (internal) interrupt request flag
:
Logical OR
Fn:
Flag bit n
At, Ha, La: Working registers
:
Logical exclusive OR
No. 5190-33/35
LC651204N/F/L, LC651202N/F/L
Instruction code
Modified
Mnemonic
Operation
Description
status
Notes
D7 D6 D5 D4
D3 D2 D1 D0
flags
CLA
Clear AC
1
1
0
0
0
0
0
0
1
1
AC
← 0
Clears AC.
ZF
*1
ClC
Clear CF
1
1
1
0
0
0
0
1
1
1
CF
← 0
Clears CF.
CF
STC
Set CF
1
1
1
1
0
0
0
1
1
1
CF
← 1
Sets CF.
CF
CMA
Complement AC
1
1
1
0
1
0
1
1
1
1
AC
← (AC)
Sets AC to the one's
ZF
INC
Increment AC
0
0
0
0
1
1
1
0
1
1
AC
← (AC) + 1
Increments AC.
ZF
CF
DEC
Decrement AC
0
0
0
0
1
1
1
1
1
1
AC
← (AC) – 1
Decrements AC.
ZF
CF
RAL
Rotate AC left through CF
0
0
0
0
0
0
0
1
1
1
AC0 ← (CF), ACn+1
Shifts AC together with CF left.
ZF
CF
← (AC
n), CF ← (AC3)
TAE
Transfer AC to E
0
0
0
0
0
0
1
1
1
1
E
← (AC)
Moves the contents of AC to E.
XAE
Exchange AC with E
0
0
0
0
1
1
0
1
1
1
(AC)
↔ (E)
Exchanges the contents of AC and E.
INM
Increment M
0
0
1
0
1
1
1
0
1
1
M(DP)
← [M(DP)] + 1 Increments M(DP).
ZF
CF
DEm
Decrement M
0
0
1
0
1
1
1
1
1
1
M(DP)
← [M(DP)] – 1 Decrements M(DP).
ZF
CF
SmB bit
Set M data bit
0
0
0
0
1
0
B1 B0
1
1
M(DP, B1 B0) ← 1
Sets the bit in M(DP) specified
by B1B0 to 1.
RMB bit
Reset M data bit
0
0
1
0
1
0
B1 B0
1
1
M(DP, B1 B0) ← 0
Clears the bit in M(DP) specified
by B1B0 to 0.
AD
Add M to AC
0
1
1
0
0
0
0
0
1
1
AC
← (AC) + [M(DP)]
Adds the contents of AC and
M(DP) as two's complement
ZF
CF
quantities and stores the result
in AC.
ADC
Add M to AC with CF
0
0
1
0
0
0
0
0
1
1
AC
← (AC) + [M(DP)]
Adds the contents of AC, CF,
+ (CF)
and M(DP) as two's complement
ZF
CF
quantities and stores the result
in AC.
DAA
Decimal adjust AC in addition
1
1
1
0
0
1
1
0
1
1
AC
← (AC) + 3
Adds 6 to AC.
ZF
DAS
Decimal adjust AC in subtraction
1
1
1
0
1
0
1
0
1
1
AC
← (AC) + 10
Adds 10 to AC.
ZF
Takes the logical exclusive OR
ZF
EXL
Exclusive or M to AC
1
1
1
1
0
1
0
1
1
1
AC
← (AC) ∨ [M(DP)] of AC and M(DP) and stores
the result in AC.
Takes the logical AND of AC
AND
And M to AC
1
1
1
0
0
1
1
1
1
1
AC
← (AC) ^ [M(DP)] and M(DP) and stores the
ZF
result in AC.
OR
Or M to AC
1
1
1
0
0
1
0
1
1
1
AC
← (AC) ∨ [M(DP)] Takes the logical OR of AC and
ZF
M(DP) and stores the result in AC.
Compares the contents of AC
CM
Compare AC with M
1
1
1
1
1
0
1
1
1
1
[M(DP)] + (AC) + 1
and M(DP) and sets or clears
CF and ZF accordingly.
ZF
CF
Compares the contents of AC
and the immediate data I3 I2 I1 I0
and sets or clears CF and ZF
accordingly.
Cl data
Compare AC with
0
0
1
0
1
1
0
0
2
2
I3 I2 I1 I0 + (AC) + 1
ZF
CF
immediate data
0
1
0
0
I3
I2
I1
I0
CLI data
Compare DPL with immediate 0
0
1
0
1
1
0
0
2
2
(DPL) ∨ I3 I2 I1 I0
Compares the contents of DPL
ZF
data
0
1
0
1
I3
I2
I1
I0
and the immediate data.
LI data
Load AC with immediate data
1
1
0
0
I3
I2
I1
I0
1
1
AC
← I
3 I2 I1 I0
Loads AC with the immediate
ZF
*1
data I3 I2 I1 I0.
S
Store AC to M
0
0
0
0
0
0
1
0
1
1
M(DP)
← (AC)
Stores the contents of AC at M(DP).
L
Load AC from M
0
0
1
0
0
0
0
1
1
1
AC
← [M(DP)]
Loads the contents of M(DP) into AC. ZF
Exchange AC with M then
1
0
1
0
0
M2 M1 M0
1
2
(AC)
↔ [M(DP)]
Exchanges the contents of AC
XM data
modify DPH with immediate
DPH ← (DPH) ∨
and M(DP). Then, replaces the
ZF
data
0 M2 M1 M0
contents of DPH with (DPH) ∨ 0
M2 M1 M0.
Exchanges the contents of AC
X
Exchange AC with M
1
0
1
0
0
0
0
0
1
2
(AC)
↔ [M(DP)]
and M(DP).
ZF
Exchange AC with M then
1
1
1
1
1
1
1
0
1
2
(AC)
↔ [M(DP)]
Exchanges the contents of AC
XI
increment DPL
DPL ← (DPL) + 1
and M(DP). Then, increments
ZF
the contents of DPL.
XD
Exchange AC with M then
1
1
1
1
1
1
1
1
1
2
(AC)
↔ [M(DP)]
Exchanges the contents of AC
Decrement DPL
DPL ← (DPL) – 1
and M(DP). Then, Decrements
ZF
the contents of DPL.
Loads into AC and E the ROM
RTBl
Read table data from
0
1
1
0
0
0
1
1
1
2
AC, E
↔ ROM
data stored at the location given
program ROM
(PCh, E, AC)
by the lower 8 bits of the PC, E
and AC.
ZF is set to indicate
the result of the
(DPH)
∨ 0 M
2 M1 M0
operation.
ZF is set according
to the contents of
DPH at the point the
instruction
was
executed.
ZF is set to indicate
the result of the DPL
+1 operation.
ZF is set to indicate
the result of the DPL
–1 operation.
Magnitude relationship
CF
ZF
[M(DP)] > (AC)
0
0
[M(DP)] = (AC)
1
1
[M(DP)] < (AC)
1
0
Magnitude relationship
CF
ZF
I3 I2 I1 I0 > (AC)
0
0
I3 I2 I1 I0 = (AC)
1
1
I3 I2 I1 I0 < (AC)
1
0
Continued on next page.


Similar Part No. - LC651204N

ManufacturerPart #DatasheetDescription
logo
Sanyo Semicon Device
LC651204N SANYO-LC651204N Datasheet
261Kb / 14P
   One-Time Programmable 4-Bit Single-Chip Microcontroller
More results

Similar Description - LC651204N

ManufacturerPart #DatasheetDescription
logo
Sanyo Semicon Device
LC651306A SANYO-LC651306A Datasheet
697Kb / 21P
   4-Bit Single-Chip Microcontroller for Small-Scale Control Applications
LC651154N SANYO-LC651154N Datasheet
336Kb / 39P
   Four-Bit CMOS Microcontrollers for Small-Scale Control Applications
LC651432N SANYO-LC651432N Datasheet
374Kb / 39P
   Four-Bit CMOS Microcontrollers for Small-Scale Control Applications
LC651104N SANYO-LC651104N Datasheet
854Kb / 35P
   Single-Chip 4-Bit Microcomputer for Small-Scale Control-Oriented Applications
LC6527C SANYO-LC6527C Datasheet
1Mb / 32P
   Single Chip 4 Bit Microcomputers for Small scale control oriented applications
LC65F1306A SANYO-LC65F1306A Datasheet
685Kb / 22P
   4-Bit Single-Chip CMOS Microcontroller for Small-Scale Control Applications
LC6527N SANYO-LC6527N Datasheet
962Kb / 42P
   SINGLE-CHIP 4-BIT MICROCOMPUTER FOR SMALL-SCALE CONTROL-ORIENTED APPLICATIONS
LC6529N SANYO-LC6529N Datasheet
525Kb / 39P
   4-Bit Microcomputer for Small-Scale Control Applications
LC6543N SANYO-LC6543N Datasheet
1Mb / 49P
   CMOS LSI SINGLE-CHIP 4-BIT MICROCOMPUTER FOR SMALL-SCALE CONTROL-ORIENTED APPLICATIONS???
LC6543C SANYO-LC6543C Datasheet
1Mb / 41P
   CMOS LSI SINGLE-CHIP 4-BIT MICROCOMPUTER FOR SMALL-SCALE CONTROL-ORIENTED APPLICATIONS?
More results


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 29 30 31 32 33 34 35


Datasheet Download

Go To PDF Page


Link URL




Privacy Policy
ALLDATASHEET.COM
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Datasheet Upload   |   Contact us   |   Privacy Policy   |   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