EmbeddedRelated.com
Forums

FiX procedure adress in SDCC

Started by maxpage July 7, 2004
File
In Keil is linker configuration file (*.l51) .I can set fix adress to
procedure:, function, constants or all .c files. Example:
---
code (100h,?PR?MYPROCEDURE?TESTOFS(4000h))
--- 
My hardware require: some procedures must be in fix address code (such
as interrupts).

Is it posiible in SDCC ???

please help
maxpage@interia.pl (maxpage) wrote in
news:bdbe8fa3.0407070148.3dcaeb27@posting.google.com: 

> File > In Keil is linker configuration file (*.l51) .I can set fix adress to > procedure:, function, constants or all .c files. Example: > --- > code (100h,?PR?MYPROCEDURE?TESTOFS(4000h)) > --- > My hardware require: some procedures must be in fix address code (such > as interrupts). > > Is it posiible in SDCC ???
Isn't there an 'interrupt' keyword that allows you to attach a function to an interrupt vector? Keil has such a keyword. -- - Mark -> --