ht82a836r Holtek Semiconductor Inc., ht82a836r Datasheet - Page 12

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
Note:
General Purpose Data Memory
All microcontroller programs require an area of
read/write memory where temporary data can be stored
and retrieved for use later. It is this area of RAM memory
that is known as General Purpose Data Memory. This
area of Data Memory is fully accessible by the user pro-
gram for both read and write operations. By using the
can be set or reset under program control giving the
user a large range of flexibility for bit manipulation in the
Data Memory. As the General Purpose Data Memory
exists in two banks, Bank 0 and Bank1, it is necessary to
first ensure that the Bank Pointer is properly set to the
correct value before accessing the General Purpose
Data Memory. When the Bank Pointer is set to the value
00H, data from Bank 0 will be accessed and when set to
the value 01H data from Bank 1 will be accessed. Note
that Bank 1 must be accessed indirectly using the Mem-
ory Pointer MP1 and the Indirect Addressing Register
IAR1.
Special Purpose Data Memory
This area of Data Memory, is located in Bank 0, where
registers, necessary for the correct operation of the
microcontroller, are stored. Most of the registers can be
read from and written to but some are protected and are
read only, the details of which are located under the rele-
vant Special Function Register section. Note that for lo-
cations that are unused, any read instruction to these
addresses will return the value 00H .
Rev. 1.00
SET [m].i and CLR [m].i instructions individual bits
Most of the RAM Data Memory bits can be di-
rectly manipulated using the SET [m].i and
few dedicated bits. The RAM Data Memory can
also be accessed through the Memory Pointer
registers MP0 and MP1.
CLR [m].i instructions with the exception of a
Data Memory Structure
12
Special Purpose Data Memory Structure
HT82A836R
March 20, 2008

Related parts for ht82a836r