?? example.asm
字號:
;
; File: Example.asm
; This is the main file in the MPASM assembler/MPLINK linker example
; Use with Example2.asm
; 17 May 2004
;
list p=16f84a
#include p16f84a.inc
; Set configuration bits using definitions from the include file, p16f84.inc
__config _LP_OSC & _PWRTE_OFF & _WDT_OFF & _CP_OFF
; Set User ID Memory
__idlocs 0x1234
PROG CODE ; Set the start of code from 16f84a.lkr script
main ; Min code entry called from Example2.asm
global main ; Define as global so can be used in Example2.asm
nop ; Main does nothing -- Put your code here
goto main ; Our sample "main" is just an infinite loop
service ; Interrupt routine, called from Example2.asm
global service ; Define as global so can be used in Example2.asm
nop ; Interrupt code would go here
nop
retfie
end
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -