example2.asm

来自「this is pic example from micro」· 汇编 代码 · 共 22 行

ASM
22
字号
;
;	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 + =
减小字号Ctrl + -
显示快捷键?