4.12.3. 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 #immed, #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 immed to the handler in r8.

immed

is an immediate value. If L is present, immed must be in the range 0-31, otherwise immed 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 Thumb-2EE support.

Copyright © 2002-2010 ARM. All rights reserved.ARM DUI 0204J
Non-ConfidentialID101213