PDA

View Full Version : DT's instant interupts compile problem



comwarrior
- 17th October 2009, 22:03
I'm using DT's instant interupts for overflow interupt on TMR1 with the 16F877A.

I've got a compile error that i'm completely lost as to what to do about it...



Error D:\BEDINI\PICCOD~1\BEDINI~2\DRIVER\1.ASM 536 : [224] LOCAL Directive Only for Use in Macros
E[224] LOCAL Directive Only for Use in Macros
Error D:\BEDINI\PICCOD~1\BEDINI~2\DRIVER\1.ASM 536 : [225] Undefined Symbol 'IflagReg'
E[225] Undefined Symbol 'IflagReg'
Error D:\BEDINI\PICCOD~1\BEDINI~2\DRIVER\1.ASM 536 : [226] Numeric Constant or Symbol Name Expected
E[226] Numeric Constant or Symbol Name Expected
Error D:\BEDINI\PICCOD~1\BEDINI~2\DRIVER\1.ASM 536 : [201] ')' Expected
E[201] ')' Expected
Error D:\BEDINI\PICCOD~1\BEDINI~2\DRIVER\1.ASM 536 : [225] Undefined Symbol 'IflagReg'
E[225] Undefined Symbol 'IflagReg'
Error D:\BEDINI\PICCOD~1\BEDINI~2\DRIVER\1.ASM 536 : [226] Numeric Constant or Symbol Name Expected
E[226] Numeric Constant or Symbol Name Expected
Error D:\BEDINI\PICCOD~1\BEDINI~2\DRIVER\1.ASM 536 : [201] ')' Expected
E[201] ')' Expected
Error D:\BEDINI\PICCOD~1\BEDINI~2\DRIVER\1.ASM 536 : [225] Undefined Symbol 'IflagReg'
E[225] Undefined Symbol 'IflagReg'
Error D:\BEDINI\PICCOD~1\BEDINI~2\DRIVER\1.ASM 536 : [226] Numeric Constant or Symbol Name Expected
E[226] Numeric Constant or Symbol Name Expected
Error D:\BEDINI\PICCOD~1\BEDINI~2\DRIVER\1.ASM 536 : [201] ')' Expected
E[201] ')' Expected
Error D:\BEDINI\PICCOD~1\BEDINI~2\DRIVER\1.ASM 536 : [225] Undefined Symbol 'IflagReg'
E[225] Undefined Symbol 'IflagReg'
Error D:\BEDINI\PICCOD~1\BEDINI~2\DRIVER\1.ASM 536 : [226] Numeric Constant or Symbol Name Expected
E[226] Numeric Constant or Symbol Name Expected
Error D:\BEDINI\PICCOD~1\BEDINI~2\DRIVER\1.ASM 536 : [201] ')' Expected
E[201] ')' Expected
Error D:\BEDINI\PICCOD~1\BEDINI~2\DRIVER\1.ASM 536 : [225] Undefined Symbol 'IflagReg'
E[225] Undefined Symbol 'IflagReg'
Error D:\BEDINI\PICCOD~1\BEDINI~2\DRIVER\1.ASM 536 : [226] Numeric Constant or Symbol Name Expected
♀PM Assembler 4.08, Copyright (c) 1995, 2006 microEngineering Labs, Inc. Page 8

E[226] Numeric Constant or Symbol Name Expected
Fatal D:\BEDINI\PICCOD~1\BEDINI~2\DRIVER\1.ASM 536 : [300] Too Many Errors

I'm hoping the formatting comes out ok...

As i said, i'm completely lost on this one... Any help appreciated...

Darrel Taylor
- 17th October 2009, 23:20
You have to assemble it with MPASM.

The errors indicate you are using PM.
<br>

comwarrior
- 18th October 2009, 14:36
ah right... but the problem with mpasm is that it doesn't like my @device fuse config statements...

HenrikOlsson
- 18th October 2009, 15:59
And I think you'll find the answer to that problem in this thread (http://www.picbasic.co.uk/forum/showthread.php?t=543)

comwarrior
- 18th October 2009, 19:30
ahhhhh! i didn't read that bit about mpasm when i read that thread...

Coolies, thanks