Package net.sourceforge.uiq3.fx603p
Class Op_GSB_Comp
- java.lang.Object
-
- net.sourceforge.uiq3.fx603p.Owned_Operation
-
- net.sourceforge.uiq3.fx603p.Programmable_Operation
-
- net.sourceforge.uiq3.fx603p.Op_GSB_Comp
-
- All Implemented Interfaces:
IClear
,IOperation
,IOwned_Operation
,IProgrammable_Operation
,IProgrammable_Operation
final class Op_GSB_Comp 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
Test to Dispay on Program, Print and Debug.private static Logger
Logger
Class logger instance.static int
Max_Programs
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_GSB_Comp(@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.short @NotNull []
Display(short Opcode)
Display Operation in Prog mode.void
Execute(short Opcode)
Go to subroutine - this op code has the unique property of not raising an error when something goes wrong - but just to ignore the command.private short @NotNull []
ExFn_Display(short Opcode)
Display the ExFn function mapped to this Opcode.private void
ExFn_Execute(short Opcode)
Execute the ExFn function mapped to this Opcode.-
Methods inherited from class net.sourceforge.uiq3.fx603p.Programmable_Operation
Token
-
Methods inherited from class net.sourceforge.uiq3.fx603p.Owned_Operation
µReset, µReset, toString
-
-
-
-
Field Detail
-
Display_Text
private static final short[] Display_Text
Test to Dispay on Program, Print and Debug.
-
Logger
private static final Logger Logger
Class logger instance.
-
TAG
private static final String TAG
Class logger tag.
-
Max_Programs
public static final int Max_Programs
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Op_GSB_Comp
Op_GSB_Comp(@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)
-
Display
public short @NotNull [] Display(short Opcode) throws Op_Error
Display Operation in Prog mode.- Parameters:
Opcode
- Virtual CPU Operation to be executed- Returns:
- String to be displayed
- Throws:
Op_Error
- See Also:
IProgrammable_Operation.Display(short)
-
ExFn_Display
private short @NotNull [] ExFn_Display(short Opcode) throws Op_Error
Display the ExFn function mapped to this Opcode.
- Throws:
Op_Error
- Illegal operation- See Also:
IOperation.Execute(short)
-
ExFn_Execute
private void ExFn_Execute(short Opcode) throws Error
Execute the ExFn function mapped to this Opcode.
- Throws:
Op_Error
- Illegal operationError
- See Also:
IOperation.Execute(short)
-
Execute
public void Execute(short Opcode) throws Error
Go to subroutine - this op code has the unique property of not raising an error when something goes wrong - but just to ignore the command.- Parameters:
Opcode
- Virtual CPU Operation to be executed- Throws:
Op_Error
- when something went wrongError
- "Error" is an abstract exception class representing all possible errors the calculator can produce.Error
- See Also:
IOperation.Execute(short)
-
-