DataSheet.es    


PDF SH6610 Data sheet ( Hoja de datos )

Número de pieza SH6610
Descripción instructions introduction
Fabricantes Sino Wealth 
Logotipo Sino Wealth Logotipo



Hay una vista previa y un enlace de descarga de SH6610 (archivo pdf) en la parte inferior de esta página.


Total 36 Páginas

No Preview Available ! SH6610 Hoja de datos, Descripción, Manual

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

1 page




SH6610 pdf
SH6610 instructions introduction
1-3 Instructions for Data Transmission
During th e internal o peration of the system, da ta is transmit ted rapidly a nd incessa ntly
between memories or registers. This fast and incessant transmission is the power of system
capability. SH6610 system provides several instructions for data transmission, as follows:
Instruction: LDI
Function: to load Immediate Data I to “Accumulator” and “Data
Memory”
Format:
Instruction Code:
Carry Flag:
Operation:
LDI Mx I
01111 iiii xxx xxxx
Not affected
AC , Mx Å I
Explanation
LDI is a very freque ntly used inst ruction. It loads immediate d ata I to accu mulator a nd
data memory. However, due to this 4-bit system, the preset range of the imme diate data I is
00H ~ 0FH(0 ~ 15), and that of Mx is 00H~7FH.
[ Example ]
LDI 20H 05H
after execution:
AC=05H
Content of data memory $20H=05H
Programming Tip
There isn’t any specially defined register for users in SH6610 system, but we can use its
powerful data memory as registers in our program designing. In the above example, I have
used data memory $20H for a register. However, if they are expressed only by address and
without respective names, the design of the program will be very confusing. Here’s a tip for
you: you can use the pseudo-instruction EQU to define each data address.
AAA
Name of memory variable
EQU 2 0H
Pseudo-
Data memory address
Therefore, the LDI instruction can also be written like this:
LDI AAA 05H
Ver1.0
5/36

5 Page





SH6610 arduino
SH6610 instructions introduction
Instruction: ADCM
Format:
Instruction Code:
Carry Flag:
Operation:
Explanation
Function: to add up the value of Data Memory, Carry Flag and the
value of Accumulator, and then save the result in both the
Accumulator and the Data Memory
ADCM Mx bbb
00000 1bbb xxx xxxx
CY
AC , Mx Å Mx + AC + CY
Instruction ADCM ad ds up the value of dat a memory , ca rry flag and the value of
accumulator, and saves the result in both the accumulator and the data memory. The ADCM
operation affects the carry flag: wh en the result of ADCM exceed s 0FH, the carry flag is set
to1; otherwise the value of CY is 0. Therefore we can decide whether there’s a carry by the
value of the carry flag after addition.
[ Example ] 05H +06H , CY=1
: ;CY=1
LDI 20H,05H ;$20H=05H,AC=05H
LDI 21H,06H ;$21H=06H,AC=06H
LDA 20H,00H ;AC=05H
ADCM
21H,0
;AC=0CH,$21H=0CH,CY=0
:
[ Example ] 0BH + 06H , CY=0
LDI
LDI
LDA
ADCM
: ;CY=0
20H,0BH ;$20H=0BH,AC=0BH
21H,06H ;$21H=06H,AC=06H
20H,00H ;AC=0BH,
21H,0
;AC=01H,$21H=01H,CY=1
:
Instruction: ADI
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 Accumulator
ADI Mx I
01000 iiii xxx xxxx
CY
AC Å Mx + I
Instruction ADI adds u p the value of dat a memory and immedi ate data I, and save s the
Ver1.0
11/36

11 Page







PáginasTotal 36 Páginas
PDF Descargar[ Datasheet SH6610.PDF ]




Hoja de datos destacado

Número de piezaDescripciónFabricantes
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

Número de piezaDescripciónFabricantes
SLA6805M

High Voltage 3 phase Motor Driver IC.

Sanken
Sanken
SDC1742

12- and 14-Bit Hybrid Synchro / Resolver-to-Digital Converters.

Analog Devices
Analog Devices


DataSheet.es es una pagina web que funciona como un repositorio de manuales o hoja de datos de muchos de los productos más populares,
permitiéndote verlos en linea o descargarlos en PDF.


DataSheet.es    |   2020   |  Privacy Policy  |  Contacto  |  Buscar