From: Rod B. <rod_boyce@DMCWave.com> - 2001-08-16 19:57:39
|
A bit more information would be useful here. I'll assume you are trying to get your interrupt to be called. I struck this problem when I was playing with SDCC as well the answer is in the manual (the PDF at least) but I give you the short form. When compiling multi file programs you must link the file with main in it first and inside the file with main in it you must put a prototype of all interrupt functions you are using this then files out the interrupt jump table automatically. By an interesting coincidence all unused interrupts get a RETI instruction put in their place very useful. Regards, Rod Boyce. -----Original Message----- From: Brian Fowler [mailto:bf...@is...] Sent: Friday, 17 August 2001 03:19 To: sdc...@li... Subject: [Sdcc-user] Setting Specific Address for a code segment I have two C files one contains the main file the other contains the Interrupt Service Routines. I am trying to use some inline Assembly, however I'm having problems setting up the 8051 Autovectoring Jump table. Any help would be greatly appreciated! Thanks in advanced, Brian Fowler New SDCC member |