public static enum CPU.RunState extends Enum<CPU.RunState>
| Enum Constant and Description |
|---|
STATE_RUNNING
CPU is running.
|
STATE_STOPPED_ADDR_FALLOUT
CPU is stopped because of address fallout error.
|
STATE_STOPPED_BAD_INSTR
CPU is stopped because of instruction fallout (unknown instruction)
error.
|
STATE_STOPPED_BREAK
CPU is in breakpoint state (paused).
|
STATE_STOPPED_NORMAL
CPU is stopped (naturally or by user) and should not be run until its
reset.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static CPU.RunState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CPU.RunState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CPU.RunState STATE_STOPPED_NORMAL
public static final CPU.RunState STATE_STOPPED_BREAK
public static final CPU.RunState STATE_STOPPED_ADDR_FALLOUT
public static final CPU.RunState STATE_STOPPED_BAD_INSTR
public static final CPU.RunState STATE_RUNNING
public static CPU.RunState[] values()
for (CPU.RunState c : CPU.RunState.values()) System.out.println(c);
public static CPU.RunState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<CPU.RunState>Copyright © 2017. All rights reserved.