English
Language : 

SM89T16R1 Datasheet, PDF (17/34 Pages) SyncMOS Technologies,Inc – 8-Bits Micro-controller With 64KB Flash ROM & IKB RAM & Two UART & RTC & ADC & PWM embedded
SyncMOS Technologies Inc.
SM89T16R1
8-Bits Micro-controller
With 64KB Flash ROM & IKB RAM & Two UART & RTC & ADC & PWM embedded
Instruction Set
The SM89T16R1 is High-Speed 80C51; it’s contained 4 clocks per machine. The SM89T16R1 dose one op-code
fetch per machine cycle .It consists of 111 instructions used 40 single-cycle, 38 used two-cycles,
19 used three-cycles, and 10 used four-cycles.
A summary of the instruction set is given in Table 4.
Addressing Mode
Notes on instruction set and address modes:
Rn
Register R7-R0 of the currently selected register bank.
Direct
8-bits internal data location’s address. This could be internal DATA RAM location (0-127) or a SFR[i.e., I/O port,
control register, status register, etc.(128-255) ]
@Ri
8-bits RAM location addressed indirectly through register R1 or R0 of the actual register bank
#data
8-bits constant included in the instruction
#data16
16-bits constant included in the instruction
addr11
11-bits destination address. Used by ACALL and AJMP. The branch can be anywhere within the same 2 Kbytes page
of program memory as the first byte of the following instruction.
Rel
Signed (2’s complement) 8-bits offset byte. Used by SJMP and all conditional jumps. Range is -128 to +127 bytes
relative to first byte of the following instruction.
Bit
Direct addressed bit in internal data RAM or SFR
Mnemonic
Arithmetic Instructions
ADD
A,Rn
ADD
A,direct
ADD
ADD
A,@Ri
A,#data
ADDC
ADDC
ADDC
ADDC
SUBB
A,Rn
A,direct
A,@Ri
A,#data
A,Rn
SUBB
A,direct
SUBB
A,@Ri
SUBB
A,#data
INC
INC
INC
INC
DEC
A
Rn
direct
@Ri
A
DEC
Rn
DEC
direct
DEC
@Ri
INC
DEC
DPTR
DPTR
MUL
AB
DIV
AB
DA
A
Logical Instructions
ANL
A,Rn
ANL
ANL
ANL
ANL
ANL
A,direct
A,@Ri
A,#data
direct,A
direct,#data
ORL
ORL
A,Rn
A,direct
ORL
ORL
ORL
A,@Ri
A,#data
direct,A
Table 4: summary of the instruction
OPERATION
A = A + Rn
A = A + direct
A = A + <@Ri>
A = A + #data
A = A + Rn + C
A = A + direct + C
A = A + @Ri + C
A = A + #data + C
A = A - Rn - C
A = A - direct - C
A = A - <@Ri> - C
A = A-#data - C
A=A+1
Rn = Rn + 1
direct = direct + 1
<@Ri> = <@Ri> + 1
A=A - 1
Rn = Rn - 1
direct = direct - 1
<@Ri> = <@Ri> - 1
DPTR = DPTR + 1
DPTR = DPTR - 1
B:A = A × B
A = INT (A/B),B = MOD (A/B)
Decimal adjust ACC
A .AND. Rn
A .AND. direct
A .AND. <@Ri>
A .AND. #data
direct .AND. A
direct .AND. #data
A .OR. Rn
A .OR. direct
A .OR. <@Ri>
A .OR. #data
direct .OR. A
BYTE
1
2
1
2
1
2
1
2
1
2
1
2
1
1
2
1
1
1
2
1
1
1
1
1
1
1
2
1
2
2
3
1
2
1
2
2
CYCLE
1
2
1
2
1
2
1
2
1
2
1
2
1
1
2
1
1
1
2
1
1
1
1
3
1
1
2
1
2
2
3
1
2
1
2
2
Specifications subject to change without notice contact your sales representatives for the most recent information.
SM89T16R1 V1.0 JANUARY 2005
17