?? psocgpioint.asm
字號:
; Generated by PSoC Designer ver 4.1 b931 : 21 January, 2004
;
;;*****************************************************************************
;;*****************************************************************************
;; FILENAME: PSoCGPIOINT.asm
;; Version: 2.0.0.20, Updated on 2003/07/17 at 12:10:35
;; @PSOC_VERSION
;;
;; DESCRIPTION: PSoC GPIO Interrupt Service Routine
;;-----------------------------------------------------------------------------
;; Copyright (c) Cypress MicroSystems 2000-2003. All Rights Reserved.
;;*****************************************************************************
;;*****************************************************************************
include "m8c.inc"
include "PSoCGPIOINT.inc"
;-----------------------------------------------
; Global Symbols
;-----------------------------------------------
export PSoC_GPIO_ISR
;-----------------------------------------------
; Constant Definitions
;-----------------------------------------------
;-----------------------------------------------
; Variable Allocation
;-----------------------------------------------
;@PSoC_UserCode_INIT@ (Do not change this line.)
;---------------------------------------------------
; Insert your custom declarations below this banner
;---------------------------------------------------
;---------------------------------------------------
; Insert your custom declarations above this banner
;---------------------------------------------------
;@PSoC_UserCode_END@ (Do not change this line.)
;-----------------------------------------------------------------------------
; FUNCTION NAME: PSoC_GPIO_ISR
;
; DESCRIPTION: Unless modified, this implements only a null handler stub.
;
;-----------------------------------------------------------------------------
;
PSoC_GPIO_ISR:
;@PSoC_UserCode_BODY@ (Do not change this line.)
;---------------------------------------------------
; Insert your custom code below this banner
;---------------------------------------------------
;The GPIO ISR function IsrGpio make calls to functions as
; which will cause the pragma calling method to push all of the
; C working variables. By manually tracing the call tree it was observed
; that only registers A,r0,r1 are only used.
; Save the environment
PUSH A
MOV A,[__r0]
PUSH A
MOV A,[__r1]
PUSH A
lcall _IsrGpio
; Restore the environment
POP A
MOV [__r1],A
POP A
MOV [__r0],A
POP A
;---------------------------------------------------
; Insert your custom code above this banner
;---------------------------------------------------
;@PSoC_UserCode_END@ (Do not change this line.)
reti
; end of file PSoCGPIOINT.asm
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -