📄 tx_232int.lis
字号:
0000 ;------------------------------------------------------------------------------
0000 ; FILENAME: Tx_232int.asm
0000 ; VERSION: Rev B, 2002 May 24
0000 ;------------------------------------------------------------------------------
0000 ; DESCRIPTION:
0000 ; Interrupt handler routine for TX8 user module instance:
0000 ; Tx_232.
0000 ;------------------------------------------------------------------------------
0000 ; Copyright (c) Cypress MicroSystems 2000-2002. All Rights Reserved.
0000 ;------------------------------------------------------------------------------
0000
0020 bTx_232_INT_MASK: equ 20h
0000 ;TX8 interrupt address
00E1 Tx_232_INT_REG: equ 0e1h
0000
0000 ;------------------------------------
0000 ; Transmitter Parity masks
0000 ;------------------------------------
0000 TX8_PARITY_NONE: equ 00h
0002 TX8_PARITY_EVEN: equ 02h
0006 TX8_PARITY_ODD: equ 06h
0000
0000 ;------------------------------------
0000 ; Transmitter Status Register masks
0000 ;------------------------------------
0020 TX8_TX_COMPLETE: equ 20h
0010 TX8_TX_BUFFER_EMPTY: equ 10h
0000
0000 ;---------------------------------
0000 ; Registers used by TX8
0000 ;---------------------------------
0037 Tx_232_CONTROL_REG: equ 37h ;Control register
0034 Tx_232_TX_SHIFT_REG: equ 34h ;TX Shift Register register
0035 Tx_232_TX_BUFFER_REG: equ 35h ;TX Buffer Register
0034 Tx_232_FUNC_REG: equ 34h ;Function register
0035 Tx_232_INPUT_REG: equ 35h ;Input register
0036 Tx_232_OUTPUT_REG: equ 36h ;Output register
0000
0000 ; end of file
0000
area text (ROM, REL)
;-----------------------------------------------------
; Export interrupt handler
; NOTE that interrupt handler is NOT exported
; for access by C function. Interrupt handlers
; are not callable by C functions.
;-----------------------------------------------------
export Tx_232INT
;-----------------------------------------------------------------------------
; FUNCTION NAME: Tx_232Int
;
; DESCRIPTION:
; TX8 interrupt handler for instance Tx_232.
;
; This is a place holder function. If the user requires use of an interrupt
; handler for this function, then place code where specified.
;
; ARGUMENTS:
; none.
;
; RETURNS:
; none.
;
; SIDE EFFECTS:
; none.
;
; THEORY of OPERATION:
; none.
;
;-----------------------------------------------------------------------------
0000 Tx_232INT:
0000 ;--------------------------
0000 ; Place user code here!!!
0000 ;--------------------------
0000 7E reti
0001
0001
0001 ; end of file
0001
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -