Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Problem error [113] im tired of him!!!

Status
Not open for further replies.

alansuchus

New Member
Hi my name is alan and i have a problem with my project is 113 error...it`s driving me crazy!!! plz somebody help me...here u are...PIC16F84

Error[113] C:\PIC2\UNTITLED.ASM 37 : Symbol not previously defined (SUBIR)


here is the part where this happens...


RESET org 00h
goto INICIO

INICIO bsf status, ram
movlw 10h
movwf trisa
movlw 00h
movwf trisb
bcf status, ram
movlw b'00000001'
movwf ptoa
EMPE btfss ptoa,4
:gtoet: :gtoet: :gtoet: call SUBIR
goto EMPE
FIN nop
end
SUBIR call REFRESH1B
call REFRESH1A
incf dig2
call REFRESH1B
call REFRESH1A
xorlw d'10'
btfsc status,z
call S10
call REFRESH1B
call REFRESH1A
return

i don't know where the problem is!!! the label is the red one...i think the programs takes the label as a file...but it's not that, it's just a label :mad: !!! if someone can help me thank u...i have to deliver it for a school project i i don't know what more can i do i have being trying all!!!
 
You should only have a "END" instruction at the end of your program. You have one in the middle, delete it and all should work fine.

Mike.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top