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.

PIC16f877 Interrupt with IAR Compiler

Status
Not open for further replies.

flit07

New Member
Hi, I'm trying to write a ISR for this PIC, but i'm having trouble with IAR Compiler. The example codes that i'm testing compiled with errors.

I'm trying to compile the example given here
PIC microcontroller interrupt tutorial

The warning says: WREG, PCLATH, STATUS/ALUSTA and BSR will not be saved automatically unless a vector is assigned to the interrupt function.

How should I solve this?

Thanks
 
Status
Not open for further replies.

Latest threads

EE World Online Articles

Loading
Top