tx8_1int.lis

来自「A very good POCSAG Paging Protocol Decod」· LIS 代码 · 共 82 行

LIS
82
字号
 0000           ;------------------------------------------------------------------------------
 0000           ;  FILENAME:   TX8_1int.asm
 0000           ;   VERSION:   Rev B, 2002 Mar 30
 0000           ;------------------------------------------------------------------------------
 0000           ;  DESCRIPTION:
 0000           ;     Interrupt handler routine for TX8 user module instance:
 0000           ;        TX8_1.
 0000           ;------------------------------------------------------------------------------
 0000           ;       Copyright (c) Cypress MicroSystems 2000-2002.  All Rights Reserved.
 0000           ;------------------------------------------------------------------------------
 0000           
 0010           bTX8_1_INT_MASK:        equ 10h  
 0000           ;TX8 interrupt address
 00E1           TX8_1_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           ;---------------------------------
 0033           TX8_1_CONTROL_REG:  equ 33h                      ;Control register
 0030           TX8_1_TX_SHIFT_REG: equ 30h                      ;TX Shift Register register
 0031           TX8_1_TX_BUFFER_REG:    equ 31h                  ;TX Buffer Register
 0030           TX8_1_FUNC_REG: equ 30h                          ;Function register
 0031           TX8_1_INPUT_REG:    equ 31h                      ;Input register
 0032           TX8_1_OUTPUT_REG:   equ 32h                      ;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   TX8_1INT
                
                ;-----------------------------------------------------------------------------
                ;  FUNCTION NAME: TX8_1Int
                ;
                ;  DESCRIPTION:
                ;     TX8 interrupt handler for instance TX8_1.  
                ;
                ;     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           TX8_1INT:
 0000              ;--------------------------
 0000              ; Place user code here!!!
 0000              ;--------------------------
 0000 7E           reti
 0001                   
 0001           
 0001           ; end of file
 0001                   

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?