pic5x.asm

来自「基于RS232的温度测量系统研究 一 引言 温度是一种最基本的环境参数」· 汇编 代码 · 共 36 行

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