|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hdcookbook.grin.test.bigjdk.BDRegisterEmulator
public class BDRegisterEmulator
Method Summary | |
---|---|
int |
getGPR(int reg)
|
static BDRegisterEmulator |
getInstance()
|
int |
getPSR(int reg)
|
void |
setGPR(int reg,
int value)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static BDRegisterEmulator getInstance()
public int getGPR(int reg)
java.lang.IllegalArgumentException
- if reg < 0 or >= 4096public void setGPR(int reg, int value)
java.lang.IllegalArgumentException
- if reg < 0 or >= 4096public int getPSR(int reg)
java.lang.IllegalArgumentException
- if reg is an illegal value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |