Top Fields Constructors Methods
jnr.a64asm

public final Class Label

extends Operand
Class Inheritance
Imports
java.util.LinkedList, .List

Field Summary

Modifier and TypeField and Description
pack-priv final int
id

Label Id (0 means unknown).

pack-priv final List<LinkData>
pack-priv int
position

Position (always positive, information depends to @c state).

pack-priv LABEL_STATE
state

State of label, see LABEL_STATE.

Constructor Summary

AccessConstructor and Description
public
public
Label(int id)

Method Summary

Modifier and TypeMethod and Description
pack-priv final boolean
isBound()

Returns @c true if label is bound.

pack-priv final boolean
isLinked()

Returns @c true if label is linked.

pack-priv final boolean
isUnused()

Returns @c true if label is unused (not bound or linked).

pack-priv final int
position()

Returns the position of bound or linked labels, -1 if label is unused.

Inherited from jnr.a64asm.Operand:
isCondisExtendisImmisLabelisMemisNoneisOffsetisPostIndexisPrefOpisPreIndexisPrfopisRegisRegCodeisRegIndexisRegMemisRegMemisRegTypeopsize

Field Detail

idback to summary
pack-priv final int id

Label Id (0 means unknown).

positionback to summary
pack-priv int position

Position (always positive, information depends to @c state).

stateback to summary
pack-priv LABEL_STATE state

State of label, see LABEL_STATE.

Constructor Detail

Labelback to summary
public Label()
Labelback to summary
public Label(int id)

Method Detail

isBoundback to summary
pack-priv final boolean isBound()

Returns @c true if label is bound.

isLinkedback to summary
pack-priv final boolean isLinked()

Returns @c true if label is linked.

isUnusedback to summary
pack-priv final boolean isUnused()

Returns @c true if label is unused (not bound or linked).

positionback to summary
pack-priv final int position()

Returns the position of bound or linked labels, -1 if label is unused.