Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/30/03 08:25
Read: times


 
#37727 - Self defined Interrupt Vector Table
Hi,
I want my own interrupt vector table . How
to set it ? or overcome the default table
that gets generated in the .asm file . I
found the following in .asm file of SDCC.

__interrupt_vect:
ljmp __sdcc_gsinit_startup
reti
.ds 7
reti
.ds 7
reti
.ds 7
reti
.ds 7
reti
.ds 7
reti
.ds 7

I found the following in KEIL :

cseg at 2003H ;//EXT0
RETI
cseg at 200BH
LJMP TIMER_INT
cseg at 2013H ;//EXT1
LJMP KB_INT
cseg at 201BH
RETI
cseg at 2023H
RETI

How to do this in SDCC with our
self defined address .

I found that "org " command didnt work
in SDCC .
Is there any other alternative or a way to
use "org" in SDCC ?

karthik bala guru
sdcckarthik@yahoo.co.in

List of 5 messages in thread
TopicAuthorDate
Self defined Interrupt Vector Table            01/01/70 00:00      
   RE: Self defined Interrupt Vector Table            01/01/70 00:00      
      RE: Self defined Interrupt Vector Table            01/01/70 00:00      
         RE: Self defined Interrupt Vector Table            01/01/70 00:00      
            RE: Self defined Interrupt Vector Table            01/01/70 00:00      

Back to Subject List