Class Op_X_M

    • Field Detail

      • Logger

        private static final Logger Logger

        class logger instance

      • TAG

        private static final String TAG

        class logger tag.

      • ABC

        private final Op_ABC ABC

        1st ExtFn function

      • DC

        private final Op_DC DC

        2nd ExtFn function

    • Constructor Detail

      • Op_X_M

        Op_X_M​(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)
      • ExFn_Display

        @NotNull
        private @org.jetbrains.annotations.NotNull short[] ExFn_Display​(short Opcode)
                                                                 throws Op_Error

        Dipslay the ExFn function mapped to this Opcode.

        Throws:
        Op_Error - Illegal operation
        See Also:
        IOperation.Execute(short)
      • ExFn_Token

        @NotNull
        public @NotNull String ExFn_Token​(short Opcode)
                                   throws Op_Error

        string representation suitable for use with serial I/O.

        Parameters:
        Opcode - Virtual CPU Operation to be executed
        Returns:
        pure ASCII String
        Throws:
        Op_Error