Class Op_M_Plus

  • All Implemented Interfaces:
    net.sourceforge.uiq3.calculator.IClear, net.sourceforge.uiq3.calculator.IOperation, net.sourceforge.uiq3.calculator.IOwned_Operation, net.sourceforge.uiq3.calculator.IProgrammable_Operation, IProgrammable_Operation

    final class Op_M_Plus
    extends Op_M
    Halt Calculator
    Author:
    "Martin Krischik" «krischik@users.sourceforge.net»
    • Field Detail

      • logger

        private static final Logger logger

        class logger instance

      • TAG

        private static final String TAG

        class logger tag.

    • Constructor Detail

      • Op_M_Plus

        Op_M_Plus​(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.
        Throws:
        Op_Error
        See Also:
        IProgrammable_Operation.Display(short)
      • Execute

        public void Execute​(short Opcode)
                     throws net.sourceforge.uiq3.calculator.Error
        Specified by:
        Execute in interface net.sourceforge.uiq3.calculator.IOperation
        Overrides:
        Execute in class Op_M
        Throws:
        Error - something went wrong
        M_Error - Memory accessed does not exist
        net.sourceforge.uiq3.calculator.Error
        See Also:
        IOperation.Execute(short)