resultregister.asm
来自「Alarm clock with PIC microcontroller」· 汇编 代码 · 共 31 行
ASM
31 行
;==============================================================================
; Return Register Declaration
;------------------------------------------------------------------------------
; Notes:
;
; The 12 bit core does not have a RETURN instruction which means that all
; computed results must be returned in a register. This module defines a
; register that can be used for this purpose.
;==============================================================================
; Revision History:
;
; 2005-02-06 AJ Initial version
;------------------------------------------------------------------------------
include ../pic.inc
if HAS_12_BIT_CORE
global RESULT
;==============================================================================
; Reserve a register for returning computed data values.
udata
RESULT res 1 ;Holds computed return values
endif
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?