Util
Class BitString
java.lang.Object
Util.BitString
public class BitString
- extends java.lang.Object
String of bit values; used for access to instruction fields when decoding instruction.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
BitString
public BitString(int aLength,
long aValue)
BitString
public BitString(BitString bs)
BitString
public BitString()
length
public int length()
getValue
public long getValue()
getValueAt
public int getValueAt(int startBit,
int numBits)
concat
public BitString concat(BitString aBitString)
toBytes
public java.lang.Byte[] toBytes()
writeToByUser
public void writeToByUser(DataModel model,
int address)
byteLength
public int byteLength()
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object