machine
Class RegisterSet.Ports
java.lang.Object
machine.RegisterSet.Ports
- Enclosing class:
- RegisterSet
public class RegisterSet.Ports
- extends Object
Public access to register set as a indexed list of ports
Method Summary |
int |
get(int regIndex)
Get the value stored by the specified register. |
void |
set(int regIndex,
long value)
Set a new value for the specific register to take on in the next cycle. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegisterSet.Ports
public RegisterSet.Ports()
get
public int get(int regIndex)
throws RegisterSet.InvalidRegisterNumberException
- Get the value stored by the specified register.
- Throws:
RegisterSet.InvalidRegisterNumberException
set
public void set(int regIndex,
long value)
throws RegisterSet.InvalidRegisterNumberException
- Set a new value for the specific register to take on in the next cycle.
- Throws:
RegisterSet.InvalidRegisterNumberException
Copyright © 2010, 2011 Mike Feeley. All Rights Reserved.