Package net.sourceforge.uiq3.fx603p
Class Op_AC
- java.lang.Object
-
- net.sourceforge.uiq3.fx603p.Owned_Operation
-
- net.sourceforge.uiq3.fx603p.Programmable_Operation
-
- net.sourceforge.uiq3.fx603p.Op_AC
-
- All Implemented Interfaces:
IClear
,IOperation
,IOwned_Operation
,IProgrammable_Operation
,IProgrammable_Operation
final class Op_AC extends Programmable_Operation
Halt Calculator- Author:
- "Martin Krischik" «krischik@users.sourceforge.net»
-
-
Field Summary
Fields Modifier and Type Field Description private static short[]
Display_Text
private static Logger
Logger
Class logger instance.private static String
TAG
Class logger tag.-
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_AC(@NotNull Calculator Owner)
Create operation and attach to owning calculator.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
Clear(boolean AC)
Reset state - for state full operations.short @NotNull []
Display(short Opcode)
Convenience method to execute an AC operation.void
Execute(short Opcode)
Execute Token for Kex All Clear.static void
Execute(@NotNull Calculator Owner)
Convenience method to execute an AC operation.-
Methods inherited from class net.sourceforge.uiq3.fx603p.Programmable_Operation
Token
-
Methods inherited from class net.sourceforge.uiq3.fx603p.Owned_Operation
µReset, µReset, toString
-
-
-
-
Constructor Detail
-
Op_AC
Op_AC(@NotNull @NotNull Calculator Owner)
Create operation and attach to owning calculator.- Parameters:
Owner
- Calculator which will call this Opcode
-
-
Method Detail
-
Execute
public static void Execute(@NotNull @NotNull Calculator Owner)
Convenience method to execute an AC operation.
-
Clear
public void Clear(boolean AC)
Reset state - for state full operations.- Parameters:
AC
- All Clear reset- See Also:
IClear.Clear(boolean)
-
Display
public short @NotNull [] Display(short Opcode)
Convenience method to execute an AC operation.- Parameters:
Opcode
- Virtual CPU Operation to be executed- Returns:
- String to be displayed
-
Execute
public void Execute(short Opcode) throws Error
Execute Token for Kex All Clear.- 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)
-
-