sh6636 SinoWealth Micro-Electronics Corp. Ltd, sh6636 Datasheet - Page 14

no-image

sh6636

Manufacturer Part Number
sh6636
Description
Mask 4-bit Microcontroller With Remote Control Carrier Synthesizer
Manufacturer
SinoWealth Micro-Electronics Corp. Ltd
Datasheet
Instruction Set
All instructions are one cycle and one-word instructions. The characteristics are memory-oriented operation.
Arithmetic and Logical Instruction
Accumulator Type
Immediate Type
* In the assembler ASM66 V1.0, EORIM mnemonic is EORI. However, EORI has the same operation identical with EORIM. It is
true for the ORIM with respect to ORI, and ANDIM with respect to ANDI.
Decimal Adjust
ADC
ADCM
ADD
ADDM
SBC
SBCM
SUB
SUBM
EOR
EORM
OR
ORM
AND
ANDM
SHR
ADI
ADIM
SBI
SBIM
EORIM
ORIM
ANDIM
DAA X
DAS X
Mnemonic
Mnemonic
Mnemonic
X (, B)
X (, B)
X (, B)
X (, B)
X (, B)
X (, B)
X (, B)
X (, B)
X (, B)
X (, B)
X (, B)
X (, B)
X (, B)
X (, B)
X, I
X, I
X, I
X, I
X, I
X, I
X, I
11110 0000 000 0000
00000 0bbb xxx xxxx
00000 1bbb xxx xxxx
00001 0bbb xxx xxxx
00001 1bbb xxx xxxx
00010 0bbb xxx xxxx
00010 1bbb xxx xxxx
00011 0bbb xxx xxxx
00011 1bbb xxx xxxx
00100 0bbb xxx xxxx
00100 1bbb xxx xxxx
00101 0bbb xxx xxxx
00101 1bbb xxx xxxx
00110 0bbb xxx xxxx
00110 1bbb xxx xxxx
11001 0110 xxx xxxx
11001 1010 xxx xxxx
Instruction Code
Instruction Code
01000 iiii xxx xxxx
01001 iiii xxx xxxx
01010 iiii xxx xxxx
01011 iiii xxx xxxx
01100 iiii xxx xxxx
01101 iiii xxx xxxx
01110 iiii xxx xxxx
Instruction Code
AC
AC, Mx
AC
AC, Mx
AC
AC, Mx
AC
AC, Mx
AC
AC, Mx
AC
AC, Mx
AC
AC, Mx
0
AC shift right one bit
AC
AC, Mx
AC
AC, Mx
AC, Mx
AC, Mx
AC, Mx
AC, Mx
AC, Mx
14
AC [3]; AC[0]
Decimal adjust for add
Decimal adjust for sub
Mx + AC + CY
Mx + AC
Mx + -AC + CY
Mx + -AC +1
Mx
Mx | AC
Mx & AC
Mx + I
Mx + -I + 1
Mx
Mx v I
Mx ^ I
Mx + AC + CY
Mx + AC
Mx + -AC + CY
Mx + -AC + 1
Mx
Mx | AC
Mx & AC
Mx + I
Mx + -I +1
Function
Function
Function
AC
I
AC
CY;
Flag Change
Flag Change
Flag Change
CY
CY
CY
CY
CY
CY
CY
CY
CY
CY
CY
CY
CY
CY
CY
SH6636

Related parts for sh6636