AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
Syntax:          BKPT <argument>
Operation:     Software breakpoint
Flags:          Unaffected

This instruction causes a software breakpoint to occur,which can be trapped by installing a handler on the prefetch abort vector. Additionally, some devices may have hardware to support debugging.
The value of <argument> is a 16 bit number which is ignored by the processor but might be useful for encoding other debugging information defined by the user.

Example:
BKPT &0BAD     ; Breakpoint,flagging "BAD" to the handler

Note that this is only available from ARM architecture 5 and later.

[sh-index] Back to list of manuals