Port-powerpc archive

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

Re: TRAP CALL IN CASE OF POWERPC



David Edelsohn wrote:
>>>>> karan khanna writes:

karan> Can any body tell me how various TRAP calls ,which were implemented
karan> earlier in previous versions of
karan> Motorolla micro processors viz-68k family, can be implemented in case of
karan> POWERPC.
karan> There were many trap vectors provided in case of 68K family but in PPC
karan> only one
karan> unconditional trap is available. How can rest unconditional traps be
karan> implemented.

        Pass a parameter in a register recognized by the trap handler if
the trap was caused by a trap instruction?

David

This could be true if we could have the flexibility to pass a parameter but when I want to use trap as a breakpoint instruction i.e replace the instruction by a simple trap call and also for similar more purposes. Is there any possible way out??

karan

-- 
***************************************************************************

When the going gets tough...
        The tough get going.

***************************************************************************
 
begin:vcard 
n:KHANNA;KARAN
x-mozilla-html:TRUE
org:C-DOT;CDOS(OS)
adr:;;;;;;
version:2.1
email;internet:karan%cdotd.ernet.in@localhost,karan_khanna%www.com@localhost
title:R.E.
note:room no:-831
x-mozilla-cpt:;0
fn:KARAN KHANNA
end:vcard


Home | Main Index | Thread Index | Old Index