数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

ADE7166 数据表(PDF) 78 Page - Analog Devices

部件名 ADE7166
功能描述  Single-Phase Energy Measurement IC with 8052 MCU, RTC and LCD driver
PDF  148 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  AD [Analog Devices]
网页  http://www.analog.com
标志 AD - Analog Devices

ADE7166 数据表(HTML) 78 Page - Analog Devices

Back Button ADE7166 Datasheet HTML 74Page - Analog Devices ADE7166 Datasheet HTML 75Page - Analog Devices ADE7166 Datasheet HTML 76Page - Analog Devices ADE7166 Datasheet HTML 77Page - Analog Devices ADE7166 Datasheet HTML 78Page - Analog Devices ADE7166 Datasheet HTML 79Page - Analog Devices ADE7166 Datasheet HTML 80Page - Analog Devices ADE7166 Datasheet HTML 81Page - Analog Devices ADE7166 Datasheet HTML 82Page - Analog Devices Next Button
Zoom Inzoom in Zoom Outzoom out
 78 / 148 page
background image
ADE75xx/ADE71xx
Preliminary Technical Data
Rev. PrE | Page 78 of 148
by the assembler and stored in the memory address specified.
This number is referred to as a literal because it refers only to a
value and not to a memory location. Instructions using this
addressing mode will be slower than those between two
registers since the literal must be stored and fetched from
memory. The expression can be entered as a symbolic variable
or an arithmetic expression; the value will be computed by the
assembler.
Direct Addressing:
With Direct Addressing, the value at the
source address is moved to the destination address. Direct
Addressing provides the fastest execution time of all the
addressing modes when an instruction is performed between
registers using direct addressing. Note that indirect or direct
addressing modes can be used to access general purpose RAM
addresses 0x00 through 0x7F. An instruction with direct
addressing that uses an address between 0x80 and 0xFF is
referring to a special function memory location.
Indirect Addressing:
With Indirect Addressing, the value
pointed to by the register is moved to the destination address.
For example, to move the contents of internal RAM address 82h
to the accumulator:
MOV
R0,#82h
MOV
A,@R0
The two instructions above require a total of four clock cycles
and three bytes of storage in the program memory.
Indirect addressing allows addresses to be computed, and is
useful for indexing into data arrays stored in RAM.
Note that an instruction that refers to addresses 00 through 7Fh
is referring to internal RAM and indirect or direct addressing
modes can be used. An instruction with indirect addressing that
uses an address between 80h and FFh is referring to internal
RAM, not to a SFR.
Extended Direct Addressing:
The DPTR register is used to
access internal extended RAM in extended indirect addressing
mode. The ADE75XX/ADE71XX provides 256 bytes of internal
extended RAM (XRAM), accessed through MOVX instructions.
External memory spaces are not supported on this device.
In extended direct addressing mode, the DPTR register points
to the address of the byte of extended RAM. The following code
will move the contents of extended RAM address 100h to the
accumulator:
MOV
DPTR,#100h
MOVX A,@DPTR
The two instructions above require a total of seven clock cycles
and four bytes of storage in the program memory.
Extended Indirect Addressing:
The internal extended RAM is
accessed through a pointer to the address in indirect addressing
mode. The ADE75XX/ADE71XX provides 256 bytes of internal
extended RAM, accessed through MOVX instructions. External
memory is not supported on this device.
In extended indirect addressing mode, a register holds the
address of the byte of extended RAM. The following code will
move the contents of extended RAM address 80h to the
accumulator:
MOV
R0,#80h
MOVX A,@R0
The two instructions above require six clock cycles and three
bytes of storage.
Note that there are 256 bytes of extended RAM, so both
extended direct and extended indirect addressing can cover the
whole address range. There is a storage and speed advantage to
using extended indirect addressing because the additional byte
of addressing available through the DPTR register that is not
needed is not stored.
From the three examples demonstrating the access of internal
RAM from 80h through FFh and extended internal RAM from
00h through FFh, it can be seen that it is most efficient to use
the entire internal RAM accessible through indirect access
before moving to extended RAM.
Code Indirect Addressing:
The internal code memory can be
accessed indirectly. This can be useful for implementing lookup
tables and other arrays of constants that are stored in Flash. For
example, to move the data stored in Flash memory at address
8002h into the Accumulator:
MOV
DPTR,#8002h
CLR
A
MOVX A,@A+DPTR
The Accumulator can be used as a variable index into the array
of Flash memory located at DPTR.
INSTRUCTION SET
Table 61 documents the number of clock cycles required for
eachinstruction. Most instructions are executed in one or two
clock cycles,resulting in a 4 MIPS peak performance.
Table 61. Instruction Set
Mnemonic
Description
Bytes
Cycles
Arithmetic
ADD A,Rn
Add register to A
1
1
ADD A,@Ri
Add indirect memory to A
1
2



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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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