Datenblatt-pdf.com


SH6610 Schematic ( PDF Datasheet ) - Sino Wealth

Teilenummer SH6610
Beschreibung instructions introduction
Hersteller Sino Wealth
Logo Sino Wealth Logo 




Gesamt 36 Seiten
SH6610 Datasheet, Funktion
SH6610 instructions introduction
SH6610 instructions introduction
Ver1.0
Sino Wealth Electronic (Shanghai) LTD.
1/36
http://www.Datasheet4U.com






SH6610 Datasheet, Funktion
SH6610 instructions introduction
Instruction: STA
Format:
Instruction Code:
Carry Flag:
Operation:
Explanation
Function:to store the value of Accumulator to Data Memory
STA Mx bbb
00111 1bbb xxx xxxx
Not affected
Mx Å AC
STA loads the val ue o f accumul ator to dat a m emory. When executin g thi s in struction,
CPU does the transmission only and the carry flag is not affected.
[ Example ] Save the value of AC in $21H
:
LDI 20H 05H ;AC=05H $20H=05H
STA 21H 00H ;$21H=05H
:
Programming Tip
If operand 2 is the immediate data I, then the program can be written in the following
ways:
LDI 20H,0AH
;expressed in hex
LDI 20H,10
;expressed in decimal
LDI 20H,1010B ;expressed in binary
Instruction: LDA
Format:
Instruction Code:
Carry Flag:
Operation:
Explanation
Function: to load the value of Data Memory to Accumulator
LDA Mx bbb
00111 0bbb xxx xxxx
Not affected
AC Å Mx
LDA loads the value of da ta memory to accumul ator. This instruction does not affect
the carry flag.
Ver1.0 6
/36

6 Page









SH6610 pdf, datenblatt
SH6610 instructions introduction
result in accu mulator. The ADI operati on affects carry flag: when the result of ADI exceed s
0FH, the carry flag is set to1; otherwi se the va lue of CY is 0. Therefore we ca n de cide
whether there’s a carry by the value of the carry flag after addition.
[ Example ] $20H=0 5H , I=04H
:
LDI 20H,05H
ADI 20H,04H
:
;$20H=05H,AC=05H,CY=0
;AC=09H,$20H=05H,CY=0
[ Example ] $20H=0 AH , I=07H
:
LDI 20H,0AH
ADI 20H,07H
:
;$20H=0AH,AC=0AH,CY=0
;AC=01H,$20H=0AH,CY=1
Instruction: ADIM
Format:
Instruction Code:
Carry Flag:
Operation:
Explanation
Function: to add up the value of Data Memory and Immediate Data
I, and then save the result in both Accumulator and the
Data Memory
ADIM Mx I
01001 iiii xxx xxxx
CY
AC , Mx Å Mx + I
Instruction ADIM adds up the value of data memory and immediate dat a I, and saves th e
result in both accumulato r and the dat a memory . The ADIM o peration af fects carry flag:
when the result of ADIM exceeds 0FH, the carry flag is set to1; otherwise the value of CY is 0.
Therefore we can decide by the value of the carry flag after addition whether there is a carry.
[ Example ] $20H=0 5H , I=04H
:
LDI
ADIM
:
20H,05H ;$20H=05H,AC=05H
20H,04H ;AC=09H,$20H=09H,CY=0
[ Example ] $20H=0 AH , I=07H
:
LDI
20H,0AH ;$20H=0AH,AC=0AH
Ver1.0
12/36

12 Page





SeitenGesamt 36 Seiten
PDF Download[ SH6610 Schematic.PDF ]

Link teilen




Besondere Datenblatt

TeilenummerBeschreibungHersteller
SH6610instructions introductionSino Wealth
Sino Wealth
SH66134K 4-Bit MicrocontrollerSino Wealth
Sino Wealth
SH6613B4K 4-Bit MicrocontrollerSino Wealth
Sino Wealth
SH6613C4K 4-Bit MicrocontrollerSino Wealth
Sino Wealth
SH6613D4K 4-Bit MicrocontrollerSino Wealth
Sino Wealth

TeilenummerBeschreibungHersteller
CD40175BC

Hex D-Type Flip-Flop / Quad D-Type Flip-Flop.

Fairchild Semiconductor
Fairchild Semiconductor
KTD1146

EPITAXIAL PLANAR NPN TRANSISTOR.

KEC
KEC


www.Datenblatt-PDF.com       |      2020       |      Kontakt     |      Suche