tools.disassembly
Class MemoryMapEntry

java.lang.Object
  extended by tools.disassembly.MemoryMapEntry

public class MemoryMapEntry
extends java.lang.Object

This class manages the information about a single memory-bus (or IO-bus) access point (address).


Field Summary
 java.lang.String accessType
           
 int address
           
 java.lang.String description
           
 int mask
           
 java.lang.String name
           
 int numBytes
           
 int selMask
           
 int value
           
 
Constructor Summary
MemoryMapEntry()
           
 
Method Summary
 boolean isMe(int address, char accessType)
          Returns true if the given address is described by this entry.
 void parse(java.lang.String text)
          This method parses a code comment that describes the access point.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

address

public int address

numBytes

public int numBytes

accessType

public java.lang.String accessType

name

public java.lang.String name

description

public java.lang.String description

mask

public int mask

value

public int value

selMask

public int selMask
Constructor Detail

MemoryMapEntry

public MemoryMapEntry()
Method Detail

isMe

public boolean isMe(int address,
                    char accessType)
Returns true if the given address is described by this entry. This accounts for any ghosting through the memory map.

Parameters:
address - the target address
Returns:
true if the address is me

parse

public void parse(java.lang.String text)
This method parses a code comment that describes the access point.

Parameters:
text - the code text