红 {MOD}字体为出错提示,都是在调用函数时出错。
MPASM 5.20 PIC.ASM 10-9-2009 10:55:46 PAGE 2
LOC OBJECT CODE LINE SOURCE TEXT
VALUE
0016 0586 00050 BSF RB,4
0017 0506 00051 BSF RB,0
Error[120] : Call or jump not allowed at this address (must be in low half of page)0018 095B 00052 CALL DELAY 00053
0019 0486 00054 BCF RB,4
001A 0406 00055 BCF RB,0
001B 0000 00056 NOP
00057
001C 0C00 00058 MOVLW 00H
001D 0033 00059 MOVWF U1
00060
001E 0C00 00061 MOVLW 00H
001F 0034 00062 MOVWF D1
00063
Error[120] : Call or jump not allowed at this address (must be in low half of page)
0020 0964 00064 CALL send8 00065
0021 0586 00066 BSF RB,4
0022 0506 00067 BSF RB,0
Error[120] : Call or jump not allowed at this address (must be in low half of page)
0023 095B 00068 CALL DELAY
00069
0024 0486 00070 BCF RB,4
0025 0406 00071 BCF RB,0
0026 0000 00072 NOP
00073
0027 0CA0 00074 MOVLW 0A0H
0028 0033 00075 MOVWF U1
00076
0029 0CA0 00077 MOVLW 0A0H
002A 0034 00078 MOVWF D1
00079
Error[120] : Call or jump not allowed at this address (must be in low half of page)
002B 0964 00080 CALL send8
00081
002C 0586 00082 BSF RB,4
002D 0506 00083 BSF RB,0
Error[120] : Call or jump not allowed at this address (must be in low half of page)
002E 095B 00084 CALL DELAY
00085
002F 0486 00086 BCF RB,4
此帖出自
小平头技术问答
LOC OBJECT CODE LINE SOURCE TEXT
VALUE
-----------------
008C 09E8 00221 CALL DELAY
00222
008D 0486 00223 BCF RB,4
008E 0406 00224 BCF RB,0
008F 0000 00225 NOP
00226
0090 0CCD 00227 MOVLW 0CDH
0091 0033 00228 MOVWF U1
00229
0092 0CCD 00230 MOVLW 0CDH
0093 0034 00231 MOVWF D1
00232
0094 09F1 00233 CALL send8
00234
0095 0586 00235 BSF RB,4
0096 0506 00236 BSF RB,0
0097 09E8 00237 CALL DELAY
00238
0098 0486 00239 BCF RB,4
0099 0406 00240 BCF RB,0
009A 0000 00241 NOP
00242
009B 0CDC 00243 MOVLW 0DCH
009C 0033 00244 MOVWF U1
00245
009D 0CDC 00246 MOVLW 0DCH
009E 0034 00247 MOVWF D1
00248
009F 09F1 00249 CALL send8
00250
00A0 0000 00251 NOP
00A1 09E8 00252 CALL DELAY
00253
00A2 0586 00254 BSF RB,4
00A3 0506 00255 BSF RB,0
00A4 09E8 00256 CALL DELAY
00257
00A5 0486 00258 BCF RB,4
00A6 0406 00259 BCF RB,0
00A7 0000 00260 NOP
00261
00A8 0C05 00262 MOVLW 05H
MPASM 5.20 PIC.ASM 10-9-2009 15:57:57 PAGE 7
LOC OBJECT CODE LINE SOURCE TEXT
VALUE
---------
00A9 0033 00263 MOVWF U1
00264
00AA 0C05 00265 MOVLW 05H
00AB 0034 00266 MOVWF D1
00267
00AC 09F1 00268 CALL send8 ;
00269
00AD 0586 00270 BSF RB,4
00AE 0506 00271 BSF RB,0
00AF 09E8 00272 CALL DELAY
00273
00B0 0486 00274 BCF RB,4
00B1 0406 00275 BCF RB,0
00B2 0000 00276 NOP
00277
00B3 0C0D 00278 MOVLW 0DH
00B4 0033 00279 MOVWF U1
00280
00B5 0C0D 00281 MOVLW 0DH
00B6 0034 00282 MOVWF D1
00283
00B7 09F1 00284 CALL send8
00285
00B8 0586 00286 BSF RB,4
00B9 0506 00287 BSF RB,0
00BA 09E8 00288 CALL DELAY
00289
00BB 0486 00290 BCF RB,4
00BC 0406 00291 BCF RB,0
00BD 0000 00292 NOP
00293
00BE 0C88 00294 MOVLW 88H
00BF 0033 00295 MOVWF U1
00296
00C0 0C88 00297 MOVLW 88H
00C1 0034 00298 MOVWF D1
00299
00C2 09F1 00300 CALL send8
00301
00C3 0000 00302 NOP
00C4 09E8 00303 CALL DELAY
00304
00C5 0586 00305 BSF RB,4
00C6 0506 00306 BSF RB,0
MPASM 5.20 PIC.ASM 10-9-2009 15:57:57 PAGE 8
LOC OBJECT CODE LINE SOURCE TEXT
VALUE
-----------------
00C7 09E8 00307 CALL DELAY
00308
00C8 0486 00309 BCF RB,4
00C9 0406 00310 BCF RB,0
00CA 0000 00311 NOP
00312
00CB 0C06 00313 MOVLW 06H
00CC 0033 00314 MOVWF U1
00315
00CD 0C06 00316 MOVLW 06H
00CE 0034 00317 MOVWF D1
00318
00CF 09F1 00319 CALL send8 ;
00320
00D0 0586 00321 BSF RB,4
00D1 0506 00322 BSF RB,0
00D2 09E8 00323 CALL DELAY
00324
00D3 0486 00325 BCF RB,4
00D4 0406 00326 BCF RB,0
00D5 0000 00327 NOP
00328
00D6 0C48 00329 MOVLW 48H
00D7 0033 00330 MOVWF U1
00331
00D8 0C48 00332 MOVLW 48H
00D9 0034 00333 MOVWF D1
00334
00DA 09F1 00335 CALL send8
00336
00DB 0586 00337 BSF RB,4
00DC 0506 00338 BSF RB,0
00DD 09E8 00339 CALL DELAY
00340
00DE 0486 00341 BCF RB,4
00DF 0406 00342 BCF RB,0
00E0 0000 00343 NOP
00344
00E1 0CF1 00345 MOVLW 0F1H
00E2 0033 00346 MOVWF U1
00347
一周热门 更多>