Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

SH79F166AP/044PR Datasheet(PDF) 19 Page - SINOWEALTH Electronic Ltd

Part # SH79F166AP/044PR
Description  Enhanced 8051 Microcontroller with 10bit ADC
PDF  113 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  SINOWEALTH [SINOWEALTH Electronic Ltd]
Direct Link  https://en.sinowealth.com
Logo SINOWEALTH - SINOWEALTH Electronic Ltd

SH79F166AP/044PR Datasheet(HTML) 19 Page - SINOWEALTH Electronic Ltd

Back Button SH79F166AP/044PR Datasheet HTML 15Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 16Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 17Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 18Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 19Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 20Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 21Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 22Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 23Page - SINOWEALTH Electronic Ltd Next Button
Zoom Inzoom in Zoom Outzoom out
 19 / 113 page
background image
SH79F166A
19
7.1.2 Enhanced CPU core SFRs
 Extended 'MUL' and 'DIV' instructions: 16bit*8bit, 16bit/8bit
 Dual Data Pointer
 Enhanced CPU core registers: AUXC, DPL1, DPH1, INSCON
The SH79F166A has modified 'MUL' and 'DIV' instructions. These instructions support 16 bit operand. A new register - the
register is applied to hold the upper part of the operand/result.
The AUXC register is used during 16 bit operand multiply and divide operations. For other instructions it can be treated as
another scratch pad register.
After reset, the CPU is in standard mode, which means that the 'MUL' and 'DIV' instructions are operating like the standard
8051 instructions. To enable the 16 bit mode operation, the corresponding enable bit in the INSCON register must be set.
Operation
Result
A
B
AUXC
MUL
INSCON.2 = 0; 8 bit mode
(A)*(B)
Low Byte
High Byte
---
INSCON.2 = 1; 16 bit mode
(AUXC A)*(B)
Low Byte
Middle Byte
High Byte
DIV
INSCON.3 = 0; 8 bit mode
(A)/(B)
Quotient Low Byte
Remainder
---
INSCON.3 = 1; 16 bit mode
(AUXC A)/(B)
Quotient Low Byte
Remainder
Quotient High Byte
Dual Data Pointer
Using two data pointers can accelerate data memory moves. The standard data pointer is called DPTR and the new data
pointer is called DPTR1.
DPTR1 is the same with DPTR, which consists of a high byte (DPH1) and a low byte (DPL1). Its intended function is to hold a
16-bit address, but it may be manipulated as a 16-bit register or as two independent 8-bit registers.
The DPS bit in INSTCON register is used to choose the active pointer. The user can switch data pointers by toggling the DPS
bit. And all DPTR-related instructions will use the currently selected data pointer.
7.1.3 Register
Table 7.2 Data Pointer Select Register
86H
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
INSCON
-
BKS0
-
-
DIV
MUL
-
DPS
R/W
-
R/W
-
-
R/W
R/W
-
R/W
Reset Value
(POR/WDT/LVR/PIN)
-
0
-
-
0
0
-
0
Bit Number
Bit Mnemonic
Description
6
BKS0
SFR Bank Selection Bit
0: SFR Bank0 selected
1: SFR Bank1 selected
3
DIV
16 bit/8 bit Divide Selection Bit
0: 8 bit Divide
1: 16 bit Divide
2
MUL
16 bit/8 bit Multiply Selection Bit
0: 8 bit Multiply
1: 16 bit Multiply
0
DPS
Data Pointer Selection Bit
0: Data pointer
1: Data pointer1



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 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

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