Package net.sourceforge.uiq3.fx602p
Class Op_SAVE
- java.lang.Object
-
- net.sourceforge.uiq3.fx602p.Owned_Operation
-
- net.sourceforge.uiq3.fx602p.Op_Interface
-
- net.sourceforge.uiq3.fx602p.Op_SAVE
-
- All Implemented Interfaces:
IClear
,IOperation
,IOwned_Operation
,IProgrammable_Operation
final class Op_SAVE extends Op_Interface
Save / Print Data- Author:
- "Martin Krischik" «krischik@users.sourceforge.net»
-
-
Field Summary
Fields Modifier and Type Field Description private static short[]
Display_Text
Test to Display on Program, Print and Debug.private static Logger
Logger
Class logger instance.private static String
TAG
Class logger tag.-
Fields inherited from class net.sourceforge.uiq3.fx602p.Op_Interface
Backup_Active
-
Fields inherited from class net.sourceforge.uiq3.fx602p.Owned_Operation
Owner
-
-
Constructor Summary
Constructors Constructor Description Op_SAVE(@NotNull Calculator Owner)
Create operation and attach to owning calculator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description short @NotNull []
Display(short Opcode)
Display Operation in Wrt mode.void
Execute(short Opcode)
Execute virtual CPU command or key strokeprivate void
Execute_IO()
private void
Execute_Run()
private void
Execute_Shift_IO(String Java_File_Name)
execute shift EXE in IO modeprivate void
Execute_Shift_Run(String Java_File_Name)
private void
Save_Display()
Writes displayed register to simulated cassette interface.-
Methods inherited from class net.sourceforge.uiq3.fx602p.Op_Interface
Casio_File_Name, Clear, Clear_Backup, Display_File_Name, Java_File_Name, Restore_Display
-
Methods inherited from class net.sourceforge.uiq3.fx602p.Owned_Operation
µReset, toString
-
-
-
-
Constructor Detail
-
Op_SAVE
Op_SAVE(@NotNull @NotNull Calculator Owner)
Create operation and attach to owning calculator.- Parameters:
Owner
- Calculator which will call this Opcode
-
-
Method Detail
-
Display
public short @NotNull [] Display(short Opcode)
Display Operation in Wrt mode.- Parameters:
Opcode
- Virtual CPU Operation to be executed- Returns:
- String to be displayed
- See Also:
IProgrammable_Operation.Display(short)
-
Execute
public void Execute(short Opcode) throws Error
Description copied from interface:IOperation
Execute virtual CPU command or key stroke
- Specified by:
Execute
in interfaceIOperation
- Overrides:
Execute
in classOp_Interface
- Parameters:
Opcode
- Virtual CPU Operation to be executed- Throws:
Error
- some errorError
- See Also:
IOperation.Execute(short)
-
Execute_Shift_IO
private void Execute_Shift_IO(String Java_File_Name) throws Op_Error
execute shift EXE in IO mode
- Parameters:
Java_File_Name
- file name- Throws:
Op_Error
- something went wrong
-
-