Class Op_Goto_Comp

    • Field Detail

      • Logger

        private static final Logger Logger

        Class Logger instance.

      • TAG

        private static final String TAG

        Class Logger tag.

    • Constructor Detail

      • Op_Goto_Comp

        Op_Goto_Comp​(@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.
        Parameters:
        AC - All Clear reset
        See Also:
        IClear.Clear(boolean)
      • ExFn_Display

        private short @NotNull [] ExFn_Display​(short Opcode)
                                        throws Op_Error

        Dipslay the ExFn function mapped to this Opcode.

        Throws:
        Op_Error - Illegal operation
      • Execute

        public void Execute​(short Opcode)
                     throws Error

        execute GOTO operation

        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)