You copied the Doc URL to your clipboard.

HB, HBL, HBLP, and HBP

Handler Branch, branches to a specified handler.

This instruction can optionally store a return address to the LR, pass a parameter to the handler, or both.

Syntax

HB{L} #HandlerID
HB{L}P #imm, #HandlerID

where:

L

is an optional suffix. If L is present, the instruction saves a return address in the LR.

P

is an optional suffix. If P is present, the instruction passes the value of imm to the handler in R8.

imm

is an immediate value. If L is present, imm must be in the range 0-31, otherwise imm must be in the range 0-7.

HandlerID

is the index number of the handler to be called. If P is present, HandlerID must be in the range 0-31, otherwise HandlerID must be in the range 0-255.

Architectures

These instructions are not available in ARM state.

These 16-bit ThumbEE instructions are only available in ThumbEE state, in ARMv7 with ThumbEE support.

Was this page helpful? Yes No