displaydata.asm
来自「Alarm clock with PIC microcontroller」· 汇编 代码 · 共 39 行
ASM
39 行
;=======================================================
; Common Data Area
;-------------------------------------------------------
;=======================================================
; Revision History:
;
; 2005-01-31 Initial version
;-------------------------------------------------------
include ../pic.inc
global SEG1
global SEG2
global SEG3
global SEG4
global CTRL
;=======================================================
; This data area forms the link between the code that
; interrogates the RTC chip for the current time and the
; interrupt routine that displays it.
;
; The segment variables hold the bit pattern for the
; digit rather than the 0-9 digit value itself.
;
; The CTRL variable hold the current state of the LEDs,
; lamp and buzzer.
udata
SEG1 res 1
SEG2 res 1
SEG3 res 1
SEG4 res 1
CTRL res 1
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?