?? subs.lst
字號:
MPASM 02.61 Released SUBS.ASM 3-17-2001 23:11:08 PAGE 1
LOC OBJECT CODE LINE SOURCE TEXT
VALUE
00001 ; SUBS.ASM
00002 ; ********
00003 ;read key port in key
Error[122] : Illegal opcode (movf)
00004 read_keys movf newkey, w ;debouncing taken care by s/w
Error[122] : Illegal opcode (oldkey)
00005 movwf oldkey
Error[122] : Illegal opcode (GPIO)
00006 movf GPIO, w ;read newkeys
Error[108] : Illegal character (0)
00007 andlw 00011000b ;gp3, gp4 are key ports
Error[122] : Illegal opcode (newkey)
00008 movwf newkey
Error[122] : Illegal opcode (newkey)
00009 comf newkey, f ;complement since active low
Error[122] : Illegal opcode (oldkey)
00010 andwf oldkey, w ;key=oldkey AND compl(newkey)
Error[122] : Illegal opcode (key)
00011 movwf key
00012 ;indicate to display routine units or tens key pressed
Error[122] : Illegal opcode (key)
00013 btfsc key, units_key
Error[122] : Illegal opcode (digit_inc)
00014 bsf digit_inc, units_inc
Error[122] : Illegal opcode (key)
00015 btfsc key, tens_key
Error[122] : Illegal opcode (digit_inc)
00016 bsf digit_inc, tens_inc
0000 00017 return
00018 ;************************************************************
Error[122] : Illegal opcode (movlw)
00019 init_ports movlw 0 ;all lo
Error[122] : Illegal opcode (GPIO)
00020 movwf GPIO
Error[108] : Illegal character (0)
00021 movlw 00011000b ;port g0-g2,g5 o/p & gp3,gp4 i/p
Error[122] : Illegal opcode (GPIO)
00022 tris GPIO
Error[122] : Illegal opcode (TMR0)
00023 clrf TMR0 ;clr tmr0 & prescaler
Error[108] : Illegal character (1)
00024 movlw 11000011b ;tmr0 enable with 1:16 prescaler
0000 00025 option
0000 00026 return
00027 ;***************** EOF SUBS.ASM ******************************
Error[125] : Illegal condition (EOF encountered before END or conditional end directive)
Error[131] : Processor type is undefined
MPASM 02.61 Released SUBS.ASM 3-17-2001 23:11:08 PAGE 2
SYMBOL TABLE
LABEL VALUE
option 00000000
return 00000000
MEMORY USAGE MAP ('X' = Used, '-' = Unused)
All other memory blocks unused.
Program Memory Words Used: 0
Program Memory Words Free: 1
Errors : 20
Warnings : 0 reported, 0 suppressed
Messages : 0 reported, 0 suppressed
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -