Class Op_X_Greater_Equal_0

    • Field Detail

      • Display_Text

        private static final short[] Display_Text
        Test to Display on Program, Print and Debug.
      • logger

        private static final Logger logger

        class logger instance

      • TAG

        private static final String TAG

        class logger tag.

    • Constructor Detail

      • Op_X_Greater_Equal_0

        public Op_X_Greater_Equal_0​(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

        @NotNull
        public @org.jetbrains.annotations.NotNull short[] 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)
      • Execute

        public void Execute​(short Opcode)
                     throws Error
        Description copied from interface: IOperation

        Execute virtual CPU command or key stroke

        Parameters:
        Opcode - Virtual CPU Operation to be executed
        Throws:
        Go_Error - Label not found.
        Error - "Error" is an abstract exception class representing all possible errors the calculator can produce.
        Error
        See Also:
        IOperation.Execute(short)