dioscuri.module.cpu32
Class ExceptionHandler
java.lang.Object
dioscuri.module.cpu32.ExceptionHandler
- Direct Known Subclasses:
- ProtectedModeExceptionHandler, RealModeExceptionHandler
public abstract class ExceptionHandler
- extends java.lang.Object
- Author:
- Bram Lohman, Bart Kiers
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExceptionHandler
public ExceptionHandler(int lastX86Position,
RPNNode initialNode,
java.util.Map<java.lang.Integer,RPNNode> stateMap)
- Parameters:
lastX86Position
- initialNode
- stateMap
-
getX86Index
public int getX86Index()
- Returns:
- -
assignRange
public void assignRange(int min,
int max)
- Parameters:
min
- max
-
used
public boolean used()
- Returns:
- -
start
public int start()
- Returns:
- -
end
public int end()
- Returns:
- -
write
public void write(CountingOutputStream byteCodes,
ClassFile cf)
throws java.io.IOException
- Parameters:
byteCodes
- cf
-
- Throws:
java.io.IOException
writeHandlerRoutine
protected abstract void writeHandlerRoutine(CountingOutputStream byteCodes,
ClassFile cf)
throws java.io.IOException
- Parameters:
byteCodes
- cf
-
- Throws:
java.io.IOException