ht82a836r Holtek Semiconductor Inc., ht82a836r Datasheet - Page 11

no-image

ht82a836r

Manufacturer Part Number
ht82a836r
Description
Usb Audio Mcu
Manufacturer
Holtek Semiconductor Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HT82A836R
Manufacturer:
HOLTEK/合泰
Quantity:
20 000
tempreg1
tempreg2
mov
mov
tabrdl
dec
tabrdl
org
dc
Data Memory
The Data Memory is a volatile area of 8-bit wide RAM in-
ternal memory and is the location where temporary in-
formation is stored. Divided into two sections, the first of
these is an area of RAM where special function registers
are located. These registers have fixed locations and
are necessary for correct operation of the device. Many
of these registers can be read from and written to di-
rectly under program control, however, some remain
protected from user manipulation. The second area of
Data Memory is reserved for general purpose use. All
locations within this area are read and write accessible
under program control.
Rev. 1.00
Note:
TABRDC [m]
TABRDL [m]
Instruction
PC12~PC8: Current Program Counter bits
@7~@0: Table Pointer TBLP bits
db
db
:
:
a,06h
tblp,a
:
:
tempreg1
tblp
tempreg2
:
:
1F00h
00Ah, 00Bh, 00Ch, 00Dh, 00Eh, 00Fh, 01Ah, 01Bh
:
:
PC12 PC11 PC10
b12
1
TBHP register bit4~bit0 when TBHP option is enabled
?
?
b11
1
b10
1
; temporary register #1
; temporary register #2
; initialise table pointer - note that this address
; is referenced
; to the last page or present page
; transfers value in table referenced by table pointer
; to tempregl
; data at prog. memory address 1F06H transferred to
; tempreg1 and TBLH
; reduce value of table pointer by one
; transfers value in table referenced by table pointer
; to tempreg2
; data at prog.memory address 1F05H transferred to
; tempreg2 and TBLH
; in this example the data 1AH is transferred to
; tempreg1 and data 0FH to register tempreg2
; the value 00H will be transferred to the high byte
; register TBLH
; sets initial address of last page
PC9
b9
1
PC8
b8
1
Table Location
Table Location Bits
@7
@7
11
b7
Organisation
The RAM Data Memory is subdivided into two banks,
known as Bank 0 and Bank 1, all of which are imple-
mented in 8-bit wide RAM. The Bank 0 Data Memory is
subdivided into two sections, the Special Purpose Data
Memory and the General Purpose Data Memory. The
start address of the Bank 0 Data Memory is the address
00H and the last Data Memory address is FFH. The
Bank 1 Data Memory consists only of General Purpose
Data Memory. The start address of the Bank 1 Data
Memory is the address 40H and the last Data Memory
address is FFH. Selection of which Bank is to be used is
implemented using the Bank Pointer.
@6
@6
b6
@5
@5
b5
@4
@4
b4
@3
@3
b3
@2
@2
b2
HT82A836R
March 20, 2008
@1
@1
b1
@0
@0
b0

Related parts for ht82a836r