| java.lang.Object pnuts.compiler.Label
Label | public class Label (Code) | | |
fix | public void fix()(Code) | | Fixes the position to which the label points as the current position in
the code buffer
|
register | public void register(int pos, int size)(Code) | | Registers the label and allocate 2 or 4 bytes in the code buffer.
|
setOffset | void setOffset(int offset)(Code) | | |
setPC | void setPC(short pos)(Code) | | |
setPosition | public void setPosition(int tgt)(Code) | | Fixes the position to which the label points
Parameters: tgt - the absolute position to which the label points |
setRelativePosition | public void setRelativePosition(int tgt)(Code) | | Fixes the position to which the label points
Parameters: tgt - the relative position to which the label points |
|
|