|
jmce - 1_02 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjmce.sim.AbstractHardware
jmce.sim.cpu.AbstractCPU
jmce.intel.mcs51.MCS51
jmce.intel.mcs51.MCS52
public class MCS52
Implementation of CPU for Intel MCS52.
Intel 8052 is one extension of Intel 8051 with 256 bytes of internal memory (memory DATA) and a new Timer2 peripheral
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.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.intel.mcs51.MCS51Constants |
---|
ACC, AUXR1, 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.sim.CPU |
---|
BIG_ENDIAN, IO_MEMORY, LITTLE_ENDIAN, MAIN_MEMORY |
Constructor Summary | |
---|---|
MCS52()
Default constructor |
Method Summary | |
---|---|
protected void |
initMemories()
Initialize the memories. |
protected void |
initNames()
|
protected void |
initPeripherals()
Initialize peripherals. |
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.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 |
---|
public MCS52()
Method Detail |
---|
protected void initMemories()
MCS51
initMemories
in class MCS51
protected void initNames()
initNames
in class MCS51
protected void initPeripherals() throws SIMException
MCS51
initPeripherals
in class MCS51
SIMException
|
jmce - 1_02 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |