jmce - 1_02

jmce.sim.memory
Class MemoryBit

java.lang.Object
  extended by jmce.sim.memory.MemoryBits
      extended by jmce.sim.memory.MemoryBit
Direct Known Subclasses:
OpenCollectorMemoryBit

public class MemoryBit
extends MemoryBits

Map a single bit of one memory location.

Version:
1.00
Author:
Mario Viara

Field Summary
 
Fields inherited from class jmce.sim.memory.MemoryBits
mask, shift
 
Constructor Summary
MemoryBit(Memory memory, int a, int b)
           
 
Method Summary
 boolean get()
           
 void set(boolean v)
           
 
Methods inherited from class jmce.sim.memory.MemoryBits
addMemoryWriteListener, getBits, getWidth, setBits
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemoryBit

public MemoryBit(Memory memory,
                 int a,
                 int b)
Method Detail

get

public boolean get()
            throws SIMException
Throws:
SIMException

set

public void set(boolean v)
         throws SIMException
Throws:
SIMException

jmce - 1_02