jmce - 1_02

jmce.philips.lpc900
Class LPC900

java.lang.Object
  extended by jmce.sim.AbstractHardware
      extended by jmce.sim.cpu.AbstractCPU
          extended by jmce.intel.mcs51.MCS51
              extended by jmce.intel.mcs51.MCS52
                  extended by jmce.philips.lpc900.LPC900
All Implemented Interfaces:
java.lang.Runnable, MCS51Constants, MCS52Constants, LPC900Constants, BreakPointListener, CPU, Hardware, InterruptManager
Direct Known Subclasses:
LPC936

public class LPC900
extends MCS52
implements LPC900Constants

NXP LPC9xx family.

The LPC9xx is a family of Philips/NXP single chip microcontroller compatible with the intel 8052 but with more internal peripheral and one machine cycle of only 2 clock compared with the 12 of the original intel implementation.

Implemented peripheral :

Version:
1.00
Author:
Mario Viara

Field Summary
 
Fields inherited from class jmce.intel.mcs51.MCS51
CODE_MEMORY, DATA_MEMORY, log, SFR_MEMORY, XDATA_MEMORY
 
Fields inherited from class jmce.sim.cpu.AbstractCPU
interrupts, io, memory, NS100MS, NS1MS
 
Fields inherited from interface jmce.philips.lpc900.LPC900Constants
AUXR1, AUXR1_SRST, BOOTSTAT, BOOTV, DEEADR, DEECON, DEEDAT, FLASH_MISC, FMADRH, FMADRL, FMCON, FMDATA, IE_WD, SEC0, SEC1, SEC2, SEC3, SEC4, SEC5, SEC6, SEC7, UCFG1, UCFG1_WDSE, UCFG1_WDTE, WDCON, WDCON_WDCLK, WDCON_WDRUN, WDCON_WDTOF, WDFEED1, WDFEED2, WDL
 
Fields inherited from interface jmce.intel.mcs51.MCS51Constants
ACC, B, DPH, DPL, IE, IE_EA, IE_EC, IE_ES, IE_ET0, IE_ET1, IE_ET2, IE_EX0, IE_EX1, P0, P0M1, P0M2, P1, P1M1, P1M2, P2, P2M1, P2M2, P3, P3M1, P3M2, PSW, PSW_AC, PSW_CY, PSW_F0, PSW_F1, PSW_OV, PSW_P, PSW_RS0, PSW_RS1, SBUF, SCON, SCON_RI, SCON_TI, SP, TCON, TCON_TF0, TCON_TF1, TCON_TR0, TCON_TR1, TH0, TH1, TL0, TL1, TMOD, TMOD_C_T0, TMOD_C_T1, TMOD_GATE0, TMOD_GATE1, TMOD_T0_M0, TMOD_T0_M1, TMOD_T1_M0, TMOD_T1_M1
 
Fields inherited from interface jmce.intel.mcs51.MCS52Constants
IEN0, IEN0_ET2, IEN1, RCAP2H, RCAP2L, T2CON, T2CON_CP, T2CON_TF2, T2CON_TR2, T2MOD, T2MOD_DCEN, TH2, TL2
 
Fields inherited from interface jmce.sim.CPU
BIG_ENDIAN, IO_MEMORY, LITTLE_ENDIAN, MAIN_MEMORY
 
Constructor Summary
LPC900()
           
 
Method Summary
protected  void initMemories()
          Initialize the memories.
protected  void initNames()
           
protected  void initPeripherals()
          Initialize peripherals.
 void setFlashSize(int n)
           
 
Methods inherited from class jmce.intel.mcs51.MCS51
ac, ac, acc, acc, addSfrReadListener, addSfrWriteListener, code, code, code16, cplBit, cy, cy, data, data, fireISR, getBit, getBitCode, getBitName, getData, getDataName, getDirect, getDirectCode, getDirectName, getDptr, getSfr, getSfrBit, getSfrBitOpenCollector, getSfrName, getWord, getXdata, getXdataHi, init, initListeners, initOpcodeDecoder, initOpcodes, initRegisters, isInterruptEnabled, ov, ov, pc, pc, pop, popw, psw, psw, push, pushw, r, r, reset, setAuxrDptrEnabled, setBit, setBitName, setData, setDataName, setDirect, setDptrIndex, setSfr, setSfrBitmap, setSfrName, setSfrXdataHi, setWord, setXdata, sfr, sfr, sfrIsBit, sfrReset, sfrSet, sfrSetBit, xdata, xdata
 
Methods inherited from class jmce.sim.cpu.AbstractCPU
abort, addCycleListener, addDecoder, addExceptionListener, addExecBreakPoint, addInterrupt, addIOReadListener, addIOReadListener, addIOWriteListener, addIOWriteListener, addLoader, addMemoryWriteListener, addOffset, addReadBreakPoint, addRegister, addResetListener, addTimerCycle, addTimerMs, addTraceListener, addWriteBreakPoint, bit0, bit7, breakPointEvent, createRuntime, decodeAt, destroy, dumpStatistics, dumpStatistics, dumpTitle, dumpValue, dumpValue, fetch, fireNMI, formatFrequence, getBreakPointAt, getBreakPointCount, getByte, getCallListener, getClock, getClockPerCycle, getCycle, getCycleMillis, getDecoderAt, getDecoderCount, getEndian, getExceptionListenerAt, getExceptionListenerCount, getExecStatistics, getInterruptCount, getInterruptCounter, getInterruptName, getIOByte, getLenghtAt, getMemory, getMemoryAt, getMemoryCount, getMemoryForName, getOpcodeAt, getOpcodes, getRealTime, getRegisterAt, getRegisterCount, getRegisterForName, getResetAddress, getUsage, getUsageDesc, getWordBig, getWordLittle, halt, idle, isBigEndian, isLittleEndian, isRunning, load, load, notifyInterrupt, removeBreakPoint, removeBreakPoint, removeExceptionListener, removeTraceListener, resetRegisters, run, run0, setByte, setCallListener, setClock, setClockPerCycle, setEndian, setIO, setIOByte, setMemory, setOpcode, setRealTime, setResetAddress, setStatusLine, setTill, start, step, step0, stepNoBreak, stop
 
Methods inherited from class jmce.sim.AbstractHardware
addHardware, createFrame, getHardware, getHardware, getHardware, getHardware, getHardware, getHardwareCount, getHardwareForName, getHardwareInstances, getHardwareTree, getName, getParent, initSwing, removeHardware, removeHardware, setHardware, setHardware, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface jmce.sim.Hardware
addHardware, getHardware, getHardware, getHardware, getHardware, getHardwareCount, getHardwareInstances, getHardwareTree, getName, getParent, initSwing, removeHardware, removeHardware, setHardware, setHardware, setName
 

Constructor Detail

LPC900

public LPC900()
Method Detail

setFlashSize

public void setFlashSize(int n)

initMemories

protected void initMemories()
Description copied from class: MCS51
Initialize the memories.

Overrides:
initMemories in class MCS52

initPeripherals

protected void initPeripherals()
                        throws SIMException
Description copied from class: MCS51
Initialize peripherals.

Overrides:
initPeripherals in class MCS52
Throws:
SIMException

initNames

protected void initNames()
Overrides:
initNames in class MCS52

jmce - 1_02