This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
dev:crosscompiler:backend_ppc:exceptions [2016/02/25 13:33] – external edit 127.0.0.1 | dev:crosscompiler:backend_ppc:exceptions [2019/08/27 12:30] (current) – ursgraf | ||
---|---|---|---|
Line 21: | Line 21: | ||
===== Java Exceptions ===== | ===== Java Exceptions ===== | ||
==== Program Exception ==== | ==== Program Exception ==== | ||
- | Each Java exception causes a PPC program exception. The handler receives the thrown exception | + | Each Java exception causes a PPC program exception. The handler receives the thrown exception |
* Get address of causing instruction into variable //addr// from SRR0. | * Get address of causing instruction into variable //addr// from SRR0. | ||
* Read instruction at this address | * Read instruction at this address | ||
Line 43: | Line 43: | ||
The figure below gives an example for the handling of exceptions. | The figure below gives an example for the handling of exceptions. | ||
- | [{{ .:exceptionoverview.png?700 | //Example for handling of exceptions// | + | [{{ .:exceptionoverviewppc.png?700 | //Example for handling of exceptions// |