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.

Show/hideSyntax

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.

Show/hideArchitectures

These instructions are not available in ARM state.

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

Copyright © 2011 ARM. All rights reserved.ARM DUI 0588A
Non-ConfidentialID061811