You copied the Doc URL to your clipboard.

Software floating-point division-by-zero debugging

Parameters for postmortem debugging can be saved by intercepting _fp_trapveneer().

You can use the $Super$$ and $Sub$$ mechanism to intervene in all calls to _fp_trapveneer().

For example:

    AREA foo, CODE
IMPORT |$Super$$_fp_trapveneer|
EXPORT |$Sub$$_fp_trapveneer|
    |$Sub$$_fp_trapveneer|
;; Add code to save whatever registers you require here
;; Take care not to corrupt any needed registers
    B |$Super$$_fp_trapveneer|
    END
Was this page helpful? Yes No