Simple Machine

machine
Class Register.Port

java.lang.Object
  extended by machine.Register.Port
Enclosing class:
Register

public class Register.Port
extends Object

Register's value port. Combined input and output operations to provide view for non-pipelined implementations that never read the register's input port.


Constructor Summary
Register.Port()
           
 
Method Summary
 int get()
          Get the value of this register's output port.
 int getUnsigned()
          Get the value of this register's output port and treat it as unsigned.
 void set(long aValue)
          Set a new value for this register's input port.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Register.Port

public Register.Port()
Method Detail

get

public int get()
Get the value of this register's output port.


getUnsigned

public int getUnsigned()
Get the value of this register's output port and treat it as unsigned.


set

public void set(long aValue)
Set a new value for this register's input port. This is the value the register will take in the next cycle.


Simple Machine

Copyright © 2010, 2011 Mike Feeley. All Rights Reserved.