HT49C50
10
August 18, 1999
Location 004H
Location 004H is reserved for the external in-
terrupt service program. If the INT0 input
pin is activated, and the interrupt is enabled,
and the stack is not full, the program begins
execution at location 004H.
Location 008H
Location 008H is reserved for the external in-
terrupt service program also. If the INT1 in-
put pin is activated, and the interrupt is
enabled, and the stack is not full, the program
begins execution at location 008H.
Location 00CH
Location 00CH is reserved for the timer/event
counter 0 interrupt service program. If a
timer interrupt results from a timer/event
counter 0 overflow, and if the interrupt is en-
abled and the stack is not full, the program
begins execution at location 00CH.
Location 010H
Location 010H is reserved for the timer/event
counter 1 interrupt service program. If a
timer interrupt results from a timer/event
counter 1 overflow, and if the interrupt is en-
abled and the stack is not full, the program
begins execution at location 010H.
Mode
Program Counter
*11
*10
*9
*8
*7
*6
*5
*4
*3
*2
*1
*0
Initial Reset
0
0
0
0
0
0
0
0
0
0
0
0
External Interrupt 0
0
0
0
0
0
0
0
0
0
1
0
0
External Interrupt 1
0
0
0
0
0
0
0
0
1
0
0
0
Timer/event counter 0 overflow
0
0
0
0
0
0
0
0
1
1
0
0
Timer/event counter 1 overflow
0
0
0
0
0
0
0
1
0
0
0
0
Time Base Interrupt
0
0
0
0
0
0
0
1
0
1
0
0
RTC Interrupt
0
0
0
0
0
0
0
1
1
0
0
0
Skip
PC+2
Loading PCL
*11
*10
*9
*8
@7
@6
@5
@4
@3
@2
@1
@0
Jump, Call Branch
#11 #10
#9
#8
#7
#6
#5
#4
#3
#2
#1
#0
Return From Subroutine
S11 S10
S9
S8
S7
S6
S5
S4
S3
S2
S1
S0
Program counter
Notes: *11~*0: Program counter bits
#11~#0: Instruction code bits
S11~S0: Stack register bits
@7~@0: PCL bits
>
$ >
4 >
& /
<
* 9
- . - A -
-
- .+ - A -
2 A
$ >
= : - . < 2 3 B 0 + 8
( ( ( >
C
+
(
4 >
* 9
- . - A -
>
+
- .
- .
= : - . < 2 3 B 0 + 8
>
( ( >
-
- .+ - A -
>
Program memory