CPU Simulator
    Preparing search index...

    Function twosComplementToDecimal

    • This method converts a negative binary value to its decimal representation.

      Parameters

      • doubleword: DoubleWord

        The negative binary value to convert.

      Returns number

      The decimal representation of the given value.