mstimerint.asm

来自「Cypress cy7c63318 鼠标开发板的源代码」· 汇编 代码 · 共 73 行

ASM
73
字号
;;*****************************************************************************
;;*****************************************************************************
;;  FILENAME: MSTIMERINT.asm
;;   Version: 1.0, Updated on 2005/04/27 at 16:28:54
;;  Generated by PSoC Designer ver 4.2  b1013 : 02 September, 2004
;;
;;  DESCRIPTION:
;;    Interrupt handler routine for MSTIMER user module instance: MSTIMER.
;;-----------------------------------------------------------------------------
;;  Copyright (c) Cypress Semiconductor 2004. All Rights Reserved.
;;*****************************************************************************
;;*****************************************************************************
include "m8c.inc"
include "memory.inc"
include "MSTIMER.inc"

;-----------------------------------------------
;  Global Symbols
;-----------------------------------------------
export  _MSTIMER_ISR

AREA InterruptRAM (RAM,REL,CON)

;@PSoC_UserCode_INIT@ (Do not change this line.)
;---------------------------------------------------
; Insert your custom declarations below this banner
;---------------------------------------------------

;------------------------
; Includes
;------------------------
	
;------------------------
;  Constant Definitions
;------------------------

;------------------------
; Variable Allocation
;------------------------

;---------------------------------------------------
; Insert your custom declarations above this banner
;---------------------------------------------------
;@PSoC_UserCode_END@ (Do not change this line.)

AREA text (ROM, REL)
;-----------------------------------------------------------------------------
;  FUNCTION NAME: _MSTIMER_ISR
;
;  DESCRIPTION: MSTIMER Interrupt Service Routine
;
;-----------------------------------------------------------------------------
_MSTIMER_ISR:
   ;@PSoC_UserCode_BODY_1@ (Do not change this line.)
   ;---------------------------------------------------
   ; Insert your custom code below this banner
   ;---------------------------------------------------
   ;   NOTE: interrupt service routines must preserve
   ;   the values of the A and X CPU registers.

 	PUSH A
	PUSH X
	LCALL _isr_ms_timer
	POP X
	POP A

  ;---------------------------------------------------
   ; Insert your custom code above this banner
   ;---------------------------------------------------
   ;@PSoC_UserCode_END@ (Do not change this line.)
   RETI
; end of file MSTIMERINT.asm

⌨️ 快捷键说明

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