📄 pic5x.asm
字号:
; if you use Microchip's assembler, please indicate the MCU type
; and do not set the CHIP's CONFIG bits in assemble code
; set CONFIG bits in Option\POD setting
LIST p=16C57
org 20h
Start:
bsf 4, 5
movlw 1
movwf 12h
movlw 2
movwf 13h
bcf 4, 5
movlw 3
movwf 12h
movlw 4
movwf 13h
movlw 0
tris 5
Loop:
movlw 55h
movwf 5
movlw 0aah
movwf 5
goto Loop
org 7ffh
goto Start
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -