Package com.zylin.zpu.simulator.exceptions

Examples of com.zylin.zpu.simulator.exceptions.HardwareWatchPointException


  public void enableAccessWatchPoint(int address, int length) throws CPUException
  {
    if (accessWatchPoint)
    {
      throw new HardwareWatchPointException();
    }
    accessWatchPointAddress=address;
    accessWatchPointLength=length;
    accessWatchPoint=true;
  }
View Full Code Here


  }
  public void disableAccessWatchPoint(int address, int length) throws CPUException
  {
    if (!accessWatchPoint)
    {
      throw new HardwareWatchPointException();
    }
    if ((address!=accessWatchPointAddress)||(length!=accessWatchPointLength))
    {
      throw new HardwareWatchPointException();
    }
   
    accessWatchPoint=false;
  }
View Full Code Here

TOP

Related Classes of com.zylin.zpu.simulator.exceptions.HardwareWatchPointException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.