Jump to content
Sign in to follow this  
Koen Schmitz

A bug or me

Recommended Posts

Dear All,


When my program is going through the assembler it failed with an error: symbol is not previously defined TOIF.

When I go to settings, options and deselect: insert default interrupt handler; than everything is fine.

My target pic is selected as a 16f819 and so far I am correct TOIF is not a 16f819 code but a 16f84 code.

Maybe it is me


Share this post

Link to post
Share on other sites
Guest Pavel

This happens because Microchip changed the naming scheme for some defines in their assembly .INC files for some targets. This buf will be fixed in the next compiler release. A workaround to it is to add a line into .INC files like:


INTE                         EQU     H'0004'
RBIE                         EQU     H'0003'
TMR0IF                     EQU     H'0002'
T0IF                         EQU     H'0002' ;this is the added line
INTF                         EQU     H'0001'




Share this post

Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...