Class Op_ENG

    • Field Detail

      • Display_Text_1

        private static final short[] Display_Text_1
        Test to Dispay on Program, Print and Debug.
      • Display_Text_2

        private static final short[] Display_Text_2
        Test to Dispay on Program, Print and Debug.
      • Logger

        private static final Logger Logger

        Class logger instance.

      • TAG

        private static final String TAG

        Class logger tag.

      • Exponent_Offset

        @Nullable
        private @Nullable Integer Exponent_Offset

        Exponent Offset to be used. «null» use no offset

    • Constructor Detail

      • Op_ENG

        Op_ENG​(@NotNull
               @NotNull 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.
        Specified by:
        Clear in interface IClear
        Parameters:
        AC - All Clear reset
        See Also:
        IClear.Clear(boolean)
      • Display_Formatted

        private void Display_Formatted()
        Actualy format the value of L[X] for display.
      • Execute

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

        Execute virtual CPU command or key stroke

        Specified by:
        Execute in interface IOperation
        Parameters:
        Opcode - Virtual CPU Operation to be executed
        Throws:
        Error - Any possible calculator error
        See Also:
        IOperation.Execute(short)