📄 example2.asm
字号:
;
; File: Example2.asm
; This is the second file in the MPASM assembler/MPLINK linker example
; Use with Example.asm
;
list p=16f84a
#include p16f84a.inc
extern main, service ; These routines are in Example.asm
STARTUP CODE ; This area is defined in 16f84a.lkr,
; the linker script
goto main ; Jump to main code defined in Example.asm
nop ; Pad out so interrupt
nop ; service routine gets
nop ; put at address 0x0004.
goto service ; Points to interrupt service routine
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -