поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

HT46R065 датащи(PDF) 21 Page - Holtek Semiconductor Inc

номер детали HT46R065
подробное описание детали  Enhanced A/D Type 8-Bit OTP MCU
PDF  99 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  HOLTEK [Holtek Semiconductor Inc]
домашняя страница  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT46R065 датащи(HTML) 21 Page - Holtek Semiconductor Inc

Back Button HT46R065 Datasheet HTML 17Page - Holtek Semiconductor Inc HT46R065 Datasheet HTML 18Page - Holtek Semiconductor Inc HT46R065 Datasheet HTML 19Page - Holtek Semiconductor Inc HT46R065 Datasheet HTML 20Page - Holtek Semiconductor Inc HT46R065 Datasheet HTML 21Page - Holtek Semiconductor Inc HT46R065 Datasheet HTML 22Page - Holtek Semiconductor Inc HT46R065 Datasheet HTML 23Page - Holtek Semiconductor Inc HT46R065 Datasheet HTML 24Page - Holtek Semiconductor Inc HT46R065 Datasheet HTML 25Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 21 / 99 page
background image
HT46R064/065/066/0662/067
Rev. 1.10
21
June 9, 2009
· Indirect Addressing Program Example
data .section
¢data¢
adres1 db ?
adres2 db ?
adres3 db ?
adres4 db ?
block
db ?
code .section at 0 code
org
00h
start:
mov a,04h
; setup size of block
mov block,a
mov a,offset adres1
; Accumulator loaded with first RAM address
mov mp0,a
; setup memory pointer with first RAM address
loop:
clr IAR0
; clear the data at address defined by MP0
inc mp0
; increment memory pointer
sdz block
; check if last memory location has been cleared
jmp loop
continue:
The important point to note here is that in the example shown above, no reference is made to specific Data Memory
addresses.
Accumulator
- ACC
The Accumulator is central to the operation of any
microcontroller and is closely related with operations
carried out by the ALU. The Accumulator is the place
where all intermediate results from the ALU are stored.
Without the Accumulator it would be necessary to write
the result of each calculation or logical operation such
as addition, subtraction, shift, etc., to the Data Memory
resulting in higher programming and timing overheads.
Data transfer operations usually involve the temporary
storage function of the Accumulator; for example, when
transferring data between one user defined register and
another, it is necessary to do this by passing the data
through the Accumulator as no direct transfer between
two registers is permitted.
Program Counter Low Register
- PCL
To provide additional program control functions, the low
byte of the Program Counter is made accessible to pro-
grammers by locating it within the Special Purpose area
of the Data Memory. By manipulating this register, direct
jumps to other program locations are easily imple-
mented. Loading a value directly into this PCL register
will cause a jump to the specified Program Memory lo-
cation, however, as the register is only 8-bit wide, only
jumps within the current Program Memory page are per-
mitted. When such operations are used, note that a
dummy cycle will be inserted.
Bank Pointer
- BP
In the HT46R0662 and HT46R067 devices, the Data
Memory is divided into two Banks, known as Bank 0 and
Bank 1. A Bank Pointer, which is bit 0 of the Bank Pointer
register is used to select the required Data Memory
bank. Only data in Bank 0 can be directly addressed as
data in Bank 1 must be indirectly addressed using Mem-
ory Pointer MP1 and Indirect Addressing Register IAR1.
Using Memory Pointer MP0 and Indirect Addressing
Register IAR0 will always access data from Bank 0, irre-
spective of the value of the Bank Pointer. Memory
Pointer MP1 and Indirect Addressing Register IAR1 can
indirectly address data in either Bank 0 or Bank 1 de-
pending upon the value of the Bank Pointer.
The Data Memory is initialised to Bank 0 after a reset, ex-
cept for the WDT time-out reset in the Idle/Sleep Mode, in
which case, the Data Memory bank remains unaffected.
It should be noted that Special Function Data Memory is
not affected by the bank selection, which means that the
Special Function Registers can be accessed from within
either Bank 0 or Bank 1. Directly addressing the Data
· BP Register
Bit
76543210
Name
¾¾¾¾¾¾¾
DMBP0
R/W
¾¾¾¾¾¾¾
R/W
POR
¾¾¾¾¾¾¾
0
Bit 7~1 :
unimplemented, read as
²0²
Bit 0
DMBP0: Data Memory bank point
0: Bank 0
1: Bank 1



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


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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