Package net.sourceforge.uiq3.fx602p
Class Op_MR
- java.lang.Object
-
- net.sourceforge.uiq3.fx602p.Owned_Operation
-
- net.sourceforge.uiq3.fx602p.Op_M
-
- net.sourceforge.uiq3.fx602p.Op_MR
-
- All Implemented Interfaces:
IClear
,IOperation
,IOwned_Operation
,IProgrammable_Operation
final class Op_MR extends Op_M
Halt Calculator- Author:
- "Martin Krischik" «krischik@users.sourceforge.net»
-
-
Field Summary
Fields Modifier and Type Field Description private static Logger
Logger
Class logger instance.private static String
TAG
Class logger tag.-
Fields inherited from class net.sourceforge.uiq3.fx602p.Op_M
Begin_F_Register, Is_M_Register, Mask_M_Register_Number, Register
-
Fields inherited from class net.sourceforge.uiq3.fx602p.Owned_Operation
Owner
-
-
Constructor Summary
Constructors Constructor Description Op_MR(Calculator Owner)
Create operation and attach to owning calculator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @org.jetbrains.annotations.NotNull short[]
Display(short Opcode)
Display operation in program mode.void
Execute(short Opcode)
Execute virtual CPU command or key stroke-
Methods inherited from class net.sourceforge.uiq3.fx602p.Owned_Operation
µReset, toString
-
-
-
-
Constructor Detail
-
Op_MR
Op_MR(Calculator Owner)
Create operation and attach to owning calculator.- Parameters:
Owner
- Calculator which will call this Opcode
-
-
Method Detail
-
Display
@NotNull public @org.jetbrains.annotations.NotNull short[] Display(short Opcode) throws Op_Error
Display operation in program mode.- Parameters:
Opcode
- Virtual CPU Operation to be executed- Returns:
- String to be displayed
- Throws:
Op_Error
- 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_M
- Parameters:
Opcode
- Virtual CPU Operation to be executed- Throws:
Error
- something went wrongM_Error
- Memory accessed does not existError
- See Also:
IOperation.Execute(short)
-
-