bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Simulate an interrupt using PSIM


From: Madhuchandra S
Subject: Simulate an interrupt using PSIM
Date: Sat, 24 Jan 2004 12:37:16 +0530

Hi,


   I m using PSIM tool to test my interrupt routine for PowerPc 750Cxe.
I required a solution to the problem that i am facing now, it  is as
follows

this is the piece of source code
.section .vector100
b handler_vector100

.section .vector200
b handler_vector200
.
.
.
.


Actual handler for vector100 interrupt is written in .text section .
Assume .vector100 is at address 0x00000100
while the .text is at 0x00004000

how to simulate an interrupt condition through code so that control
would go to address .vector100 and inturn execute the interrupt handler
routine ?

Interrupt could be an external or intenal interrupt.

Thanks in advance
Madhu

##############################################################################################################################################
The information transmitted is intended for the person or entity to which it is 
addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination, copying or other use of, 
or taking any action in reliance upon, this information by
persons or entities other than the intended recipient is prohibited. If you 
have received this in error, please contact the sender and delete
the material from your system. Accord Software & Systems Pvt. Ltd. (ACCORD) is 
not responsible for any changes made to the material other
than those made by ACCORD or for the effect of the changes on the meaning of 
the material.
##############################################################################################################################################




reply via email to

[Prev in Thread] Current Thread [Next in Thread]