Package net.sourceforge.uiq3.fx603p
Class Op_Stat
- java.lang.Object
-
- net.sourceforge.uiq3.fx603p.Owned_Operation
-
- net.sourceforge.uiq3.fx603p.Programmable_Operation
-
- net.sourceforge.uiq3.fx603p.Op_Stat
-
- All Implemented Interfaces:
IClear
,IOperation
,IOwned_Operation
,IProgrammable_Operation
,IProgrammable_Operation
abstract class Op_Stat extends Programmable_Operation
Halt Calculator- Author:
- "Martin Krischik" «krischik@users.sourceforge.net»
-
-
Field Summary
Fields Modifier and Type Field Description private static Logger
Logger
Class logger instance.protected Number
Multiply
How often should Value added.private static String
TAG
Class logger tag.protected Number
Value
Value to add to staticstic register-
Fields inherited from class net.sourceforge.uiq3.fx603p.Owned_Operation
Owner
-
Fields inherited from interface net.sourceforge.uiq3.fx603p.IProgrammable_Operation
No_Display
-
-
Constructor Summary
Constructors Constructor Description Op_Stat(@NotNull Calculator Owner)
Create operation and attach to owning calculator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
Clear(boolean AC)
Reset state - for state full operations.void
Execute(short Opcode)
Execute virtual CPU command or key stroke@NotNull String
toString()
Operation as java string-
Methods inherited from class net.sourceforge.uiq3.fx603p.Programmable_Operation
Token
-
Methods inherited from class net.sourceforge.uiq3.fx603p.Owned_Operation
µReset, µReset
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.sourceforge.uiq3.calculator.IProgrammable_Operation
Display
-
-
-
-
Constructor Detail
-
Op_Stat
Op_Stat(@NotNull @NotNull Calculator Owner)
Create operation and attach to owning calculator.- Parameters:
Owner
- Calculator which will call this Opcode
-
-
Method Detail
-
Clear
public void Clear(boolean AC)
Reset state - for state full operations.- Parameters:
AC
- All Clear reset- See Also:
IClear.Clear(boolean)
-
Execute
public void Execute(short Opcode) throws Error
Description copied from interface:IOperation
Execute virtual CPU command or key stroke
- Parameters:
Opcode
- Virtual CPU Operation to be executed- Throws:
Error
- "Error" is an abstract exception class representing all possible errors the calculator can produce.Error
- See Also:
IOperation.Execute(short)
-
toString
@NotNull public @NotNull String toString()
Description copied from class:Owned_Operation
Operation as java string- Overrides:
toString
in classOwned_Operation
- Returns:
- String representation
-
-