public abstract class BaseCodeCursor extends java.lang.Object implements CodeCursor
CodeCursor.| Constructor and Description |
|---|
BaseCodeCursor()
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
advance(int amount)
Advance the cursor by the indicated amount.
|
int |
baseAddressForCursor()
Gets the base address associated with the current cursor.
|
int |
cursor()
Gets the cursor.
|
void |
setBaseAddress(int targetAddress,
int baseAddress)
Sets the base address for the given target address to be as indicated.
|
public final int cursor()
cursor in interface CodeCursorpublic final int baseAddressForCursor()
CodeCursor.setBaseAddress(int, int)). This is used, in particular, to convey base
addresses to switch data payload instructions, whose relative
addresses are relative to the address of a dependant switch
instruction.baseAddressForCursor in interface CodeCursorpublic final void setBaseAddress(int targetAddress,
int baseAddress)
setBaseAddress in interface CodeCursorCodeCursor.baseAddressForCursor()protected final void advance(int amount)
Copyright © 2020. All Rights Reserved.