Texas Instruments MSP50C6xx Calculator User Manual


 
Instruction Set Summay
4-207
Assembly Language Instructions
MSP50C614 (MSP50P614) IO Port Description
Address Bits Name R/W 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 After RESET
0x34 4 DAC Control R/W DM E P1 P0 0x0
DM Drive Mode E Function P1 P0 DAC bits
0 3x Style DAC 0 Disable DAC 0 0 8 bit
1
y
5x Style DAC 1 Enable DAC 11
0
9 bits
10 bi
0 10 bits
0x38 16 Interrupt
G
R/W CE AR PD EP E2 E1 S2 S1 D5 D4 PF D3 D2 T2 T1 DA 0x0000
General
Control
EP
AR
F port Pullup
Arm bit
Timer Function Interrupt enable bits: 1=enable,0=disable
AR
CE
Arm
bit
Comparator
S1
S2
Timer1 source
Timer2 source
DA
T1
DAC Timer interrupt
Timer 1interru
p
t
S2
Timer2
source
T1
T2
D2
Timer
1
interrupt
Timer 2 interrupt
PD2 risingedge interr pt
0=disable 0 = MC
D2
D3
PD2
r
i
s
i
ng e
d
ge
i
nterrupt
PD3 fallingedge interru
p
t
1=enable 1 = MC
D3
PF
PD3
falling
edge
interru t
F port falling edge interrupt
PD PDM clock E1 Timer1 enable
D4
D5
gg
PD4 rising edge interrupt
PD5 fallingedge interru
p
t
0
1
MC
MC
E2 Timer2 enable
D5
PD5
f
a
lli
ng e
d
ge
i
n
t
errup
t
1
MC
0 = disable
1 = enable
0x39 8 Interrupt
Flag
R/W D5 D4 PF D3 D2 T2 T1 DA left
unchanged
Fl
ag
Register
D5 PD5 fallin
g
ed
g
e interrupt fla
g
DA DAC Timer interrupt fla
g
unc
h
ange
d
Register
D5
D4
PD5
falling
edge
interru t
flag
PD4 rising edge interrupt flag
DA
T1
DAC
Timer
interru t
flag
Timer 1 interrupt flag
D3
gg g
PD3 falling edge interrupt flag T2
g
Timer 2 interrupt flag
PF F port falling edge interrupt flag D2 PD2 rising edge interrupt flag
0x3A 16 Timer 1 period R/W T I M E R 1 P E R I O D 0x0000
0x3B 16 Timer 1 preset R/W T I M E R 1 P R E S E T 0x0000
0x3D 16 Clock
S
W T4 T3 T2 T1 T0 I C R M7 M6 M5 M4 M3 M2 M1 M0 0x0000
Speed
Control
Resistor Trim bits I
C
Idle bit
CRO
PLLM bits
MC
=
(PLLM value+1) × 131.07 kHz
0 = disable
C
R
CRO
RTO
MC
=
(PLLM
value+1)
×
131
.
07
kHz
CPU clock = (PLLM value+1) × 65.536 kHz
1 = enable
0x3E 16 Timer 2 period R/W T I M E R 2 P E R I O D 0x0000
0x3F 16 Timer 2 preset R/W T I M E R 2 P R E S E T 0x0000