欢迎访问ic37.com |
会员登录 免费注册
发布采购

HT36M4_07 参数 Datasheet PDF下载

HT36M4_07图片预览
型号: HT36M4_07
PDF下载: 下载PDF文件 查看货源
内容描述: 音乐合成器的8位MCU [Music Synthesizer 8-Bit MCU]
分类和应用:
文件页数/大小: 24 页 / 239 K
品牌: HOLTEK [ HOLTEK SEMICONDUCTOR INC ]
 浏览型号HT36M4_07的Datasheet PDF文件第3页浏览型号HT36M4_07的Datasheet PDF文件第4页浏览型号HT36M4_07的Datasheet PDF文件第5页浏览型号HT36M4_07的Datasheet PDF文件第6页浏览型号HT36M4_07的Datasheet PDF文件第8页浏览型号HT36M4_07的Datasheet PDF文件第9页浏览型号HT36M4_07的Datasheet PDF文件第10页浏览型号HT36M4_07的Datasheet PDF文件第11页  
HT36M4  
·
Bank pointer  
Data Memory - RAM  
The program memory is organized into 8 banks and  
each bank into 8192´16 of bits program ROM. PF2~  
PF0 is used as the bank pointer. After an instruction  
has been executed to write data to the PF register to  
select a different bank, note that the new bank will not  
be selected immediately. The new bank is only se-  
lected after an instruction cycle is executed. When the  
PF register is used to select the bank, the PF register  
is write only. It is not until the following instruction has  
completed execution that the bank will be actually se-  
lected. It should be note that the PF register is write  
only.  
The data memory is designed with 2´256´8 bits. The  
data memory is divided into three functional groups:  
special function registers, wavetable function register,  
and general purpose data memory (2´192´8). Most of  
them are read/write, but some are read only.  
0
0
0
0
0
0
0
0
0
0
0
1
2
3
4
5
6
7
8
9
H
H
H
H
H
H
H
H
H
H
I
n
d
i
r
e
c
t
A
d
d
r
e
s
s
i
n
g
R
e
g
i
s
t
e
r
0
M
P
0
I
n
d
i
r
e
c
t
A
d
d
r
e
s
s
i
n
g
R
e
g
i
s
t
e
r
1
M
P
1
B
P
A
C
C
P
C
L
T
B
L
P
Wavetable ROM  
T
B
L
H
The ST11~ST0 are used to defined the start address of  
each sample on the wavetable and read the waveform  
data from the location. HT36M4 provides 17 output ad-  
dress lines from WA16~WA0, the ST11~ST0 are used  
to locate the major 12 bits i.e. WA16~WA5 and the un-  
defined data from WA4~WA0 are always set to 00000b.  
So the start address of each sample have to be located  
at a multiple of 32 bytes. Otherwise, the sample will not  
be read out correctly because it has a wrong starting  
code.  
W
D
T
S
S
T
A
T
U
S
0
0
A
B
H
H
I
N
T
C
0
T
M
R
H
0
C
H
T
M
R
0
L
0
D
H
S
p
e
c
i
a
l
P
u
r
p
o
s
e
T
T
M
M
R
R
0
1
C
H
0
E
H
D
a
t
a
M
e
m
o
r
y
0
F
H
1
1
1
1
1
1
1
1
1
1
0
1
2
3
4
5
6
7
8
9
H
H
H
H
H
H
H
H
H
H
T
M
R
1
L
T
M
R
1
C
P
P
A
P
P
A
B
C
C
B
Stack Register - Stack  
This is a special part of the memory which is used to  
save the contents of the program counter only. The  
stack is organized into 8 levels and is neither part of the  
data nor part of the program space, and is neither read-  
able nor writeable. The activated level is indexed by the  
stack pointer (SP) and is neither readable nor writeable.  
At a subroutine call or interrupt acknowledgment, the  
contents of the program counter are pushed onto the  
stack. At the end of a subroutine or an interrupt routine,  
signaled by a return instruction (RET or RETI), the pro-  
gram counter is restored to its previous value from the  
stack. After a chip reset, the Stack Pointer will point to  
the top of the stack.  
1
1
A
B
H
H
1
C
H
P
F
D
A
H
1
D
H
D
A
L
1
E
H
D
A
C
1
F
H
C
h
a
n
n
e
l
n
u
m
b
e
r
s
e
l
e
c
t
2
2
2
2
2
2
2
2
2
2
0
1
2
3
4
5
6
7
8
9
H
H
H
H
H
H
H
H
H
H
F
r
e
q
u
e
n
c
y
n
u
m
b
e
r
h
i
g
h
b
y
t
e
F
r
e
q
u
e
n
c
y
n
u
m
b
e
r
l
o
w
b
y
t
e
S
t
a
r
t
a
d
d
r
e
s
s
h
i
g
h
b
y
t
e
S
t
a
r
t
a
d
d
r
e
s
s
l
o
w
b
y
t
e
W
a
v
e
t
a
b
l
e
F
u
n
c
t
i
o
n
R
e
p
e
a
t
n
u
m
b
e
r
h
i
g
h
b
y
t
e
If the stack is full and a non-masked interrupt takes  
place, the interrupt request flag will be recorded but the  
acknowledgment will be inhibited. When the stack  
pointer is decremented (by RET or RETI), the interrupt  
will be serviced. This feature prevents stack overflow al-  
lowing the programmer to use the structure more easily.  
In a similar case, if the stack is full and a CALL is subse-  
quently executed, a stack overflow occurs and the first  
entry will be lost (only the most recent eight return ad-  
dress are stored).  
R
e
g
i
s
t
e
r
R
e
p
e
a
t
n
u
m
b
e
r
l
s
o
w
e
b
y
t
e
C
o
n
t
r
o
l
r
e
g
i
t
r
R
i
g
h
t
v
o
l
u
m
c
o
n
t
r
o
l
2
A
H
2
B
H
:
U
n
u
s
e
d
.
R
e
a
d
a
s
"
0
0
"
3
F
H
B
a
n
k
1
4
0
H
B
a
n
k
0
G
e
n
e
r
a
l
P
u
r
p
o
s
e
D
a
t
a
M
e
m
o
r
y
(
1
9
2
´
2
B
y
t
e
s
)
F
F
H
RAM Mapping  
Rev. 1.10  
7
March 14, 2007  
 复制成功!