Calculator User Manual
Table Of Contents
- Read This First
- Contents
- Figures
- Tables
- Examples
- Cautions
- Introduction
- Architectural Overview
- Central Processing Unit
- Memory and I/O Spaces
- Program Control
- Addressing Modes
- Assembly Language Instructions
- Instruction Set Summary
- How To Use the Instruction Descriptions
- Instruction Descriptions
- ABS
- ABS
- ADD
- ADD
- ADD
- ADD
- ADDC
- ADDC
- ADDS
- ADDS
- ADDT
- ADDT
- ADRK
- AND
- AND
- AND
- APAC
- APAC
- B
- BACC
- BANZ
- BANZ
- BCND
- BCND
- BIT
- BIT
- BITT
- BITT
- BLDD
- BLDD
- BLDD
- BLDD
- BLDD
- BLPD
- BLPD
- BLPD
- BLPD
- CALA
- CALL
- CC
- CC
- CLRC
- CLRC
- CMPL
- CMPR
- DMOV
- DMOV
- IDLE
- IN
- IN
- INTR
- LACC
- LACC
- LACC
- LACL
- LACL
- LACL
- LACT
- LACT
- LAR
- LAR
- LAR
- LDP
- LDP
- LPH
- LPH
- LST
- LST
- LST
- LST
- LT
- LT
- LTA
- LTA
- LTD
- LTD
- LTD
- LTP
- LTP
- LTS
- LTS
- MAC
- MAC
- MAC
- MAC
- MACD
- MACD
- MACD
- MACD
- MACD
- MAR
- MAR
- MPY
- MPY
- MPY
- MPYA
- MPYA
- MPYS
- MPYS
- MPYU
- MPYU
- NEG
- NEG
- NMI
- NOP
- NORM
- NORM
- NORM
- OR
- OR
- OR
- OUT
- OUT
- PAC
- POP
- POP
- POPD
- POPD
- PSHD
- PSHD
- PUSH
- RET
- RETC
- ROL
- ROR
- RPT
- RPT
- SACH
- SACH
- SACL
- SACL
- SAR
- SAR
- SBRK
- SETC
- SETC
- SFL
- SFR
- SFR
- SPAC
- SPH
- SPH
- SPL
- SPL
- SPLK
- SPLK
- SPM
- SQRA
- SQRA
- SQRS
- SQRS
- SST
- SST
- SUB
- SUB
- SUB
- SUB
- SUBB
- SUBB
- SUBC
- SUBC
- SUBS
- SUBS
- SUBT
- SUBT
- TBLR
- TBLR
- TBLR
- TBLW
- TBLW
- TBLW
- TRAP
- XOR
- XOR
- XOR
- ZALR
- ZALR
- On-Chip Peripherals
- Synchronous Serial Port
- Asynchronous Serial Port
- TMS320C209
- Register Summary
- TMS320C1x/C2x/C2xx/C5x Instruction Set Comparison
- Program Examples
- Submitting ROM Codes to TI
- Design Considerations for Using XDS510 Emulator
- E.1 Designing Your Target System’s Emulator Connector (14-Pin Header)
- E.2 Bus Protocol
- E.3 Emulator Cable Pod
- E.4 Emulator Cable Pod Signal Timing
- E.5 Emulation Timing Calculations
- E.6 Connections Between the Emulator and the Target System
- E.7 Physical Dimensions for the 14-Pin Emulator Connector
- E.8 Emulation Design Considerations
- Glossary
- Index

Interrupts
5-21
Program Control
1 to the corresponding IFR bit. All pending interrupts can be cleared by writing
the current contents of the IFR back into the IFR. Acknowledgement of a
hardware request also clears the corresponding IFR bit. A device reset clears
all IFR bits.
Notes:
1) When an interrupt is requested by an INTR instruction, if the correspond-
ing IFR bit is set, the CPU will not clear it automatically. If an application
requires that the IFR bit be cleared, the bit must be cleared in the inter-
rupt service routine.
2) To avoid double interrupts from the synchronous serial port and the
asynchronous serial port (including delta interrupts), clear the IFR bit(s)
in the corresponding interrupt service routine, just before returning from
the routine.
For ’C2xx devices other than the ’C209, Figure 5–7 shows the IFR. Descrip-
tions of the bits follow the figure. For a description of the ’C209 IFR, see sub-
section 11.3.1,
’C209 Interrupt Registers
, on page 11-11.
Figure 5–7. ’C2xx Interrupt Flag Register (IFR) — Data-Memory Address 0006h
15 6 5 4 3 2 1 0
Reserved TXRXINT XINT RINT TINT INT2/INT3 HOLD/INT1
0 R/W1C–0 R/W1C–0 R/W1C–0 R/W1C–0 R/W1C–0 R/W1C–0
Note: 0 = Always read as zeros; R = Read access; W1C = Write 1 to this bit to clear it to 0;
value following dash (–) is value after reset.
Bits 15–6 Reserved. Bits 15–6 are reserved and are always read as 0s.
Bit 5 TXRXINT — Transmit/receive interrupt flag. Bit 5 is tied to the transmit/receive in-
terrupt for the asynchronous serial port.
To avoid double interrupts, write a 1 to this
bit in the interrupt service routine.
TXRXINT = 0 Interrupt TXRXINT is not pending.
TXRXINT = 1 Interrupt TXRXINT is pending.
Bit 4 XINT — Transmit interrupt flag. Bit 4 is tied to the transmit interrupt for the synchro-
nous serial port.
To avoid double interrupts, write a 1 to this bit in the interrupt service
routine.
XINT = 0 Interrupt XINT is not pending.
XINT = 1 Interrupt XINT is pending.