This calculator allows the operator to calculate 8 or 16 bit Boolean operations or decimal to hexadecimal to binary conversions.
For the 8 or 16 bit binary calculators, enter the values in A and B in decimal or binary form. Note all binary input strings must have the proper number of 0 and 1’s (i.e. 8 or 16) for the operation to calculate correctly. Select the appropriate tab for 8 or 16 bit operations and enter A and B values for binary operation and the A value for Unary operation like Not or Cmp (one’s complement). M is the Memory register to help in manipulating values. I have included And, Or, Xor, Not, Nand, Nor, and Cmp. Also included are the register clear functions and the move operations to move values around to facilitate complex operations.
Figure 8 – 8 Bit Boolean
This one is same functions as the last, but allows a numeric integer range of 16 bits or 0 to 32767.
Figure 9 – 16 Bit Boolean
The Binary<>Decimal tab function set gives Binary <> Decimal<>Hexadecimal conversions. You can enter decimal, hexadecimal or binary and it will convert to the other formats. This one works live and computes values as you enter them.
Figure 10 – Binary <> Decimal
This DAC <>< ACD screen performs Digital to Analog and Analog to Digital conversions. The Analog and or Digital Range can be adjusted from the default settings that I have made of 0-255 for digital words and 0-5V for the analog range. By then inputting the Digital Input value from the valid range and pressing the “D>A” button will compute the analog voltage. The converse is true for the Analog to Digital calculation. Enter the Analog value and press the “A>D” button to compute the digital value.
Figure 11 – DAC <> ADC
This screen performs the conversion from and to Byte to Integer, Long or Single. First select the appropriate tab for the conversion desired. This can be used for calculating the binary values for numeric entry to write to an EEPROM and vise versa. In the first case, Integer I have input the value of 12345 in the integer input text box. Pressing the “Integer to Byte” button the hex and decimal byte equivalents will be computed. They will then calculate the integer value back again to verify the initial integer value. If you enter the hex bytes and press the “Byte to Integer” button the decimal conversion of the bytes and the integer value will be computed.
Figure 12 – Byte<>Integer
In the next case, Long I have input the value of 12345678 in long input text box. Pressing the “Long to Byte” button the hex and decimal byte equivalents will be computed. They will then calculate the integer value back again to verify the initial long value. If you enter the hex bytes and press the “Byte to Long” button the decimal conversion of the bytes and the long value will be computed.
Figure 13 – Byte<>Long
In the last case, Single I have input the value of 12345678 in long input text box. Pressing the “Single to Byte” button the hex and decimal byte equivalents will be computed. They will then calculate the integer value back again to verify the initial long value. If you enter the hex bytes and press the “Byte to Single” button the decimal conversion of the bytes and the long value will be computed.
Figure 14 – Byte<>Single
This section helps with a wide variety of complex functions. Included are the basic operations, Exponential and associated functions and transcendental functions. Select the appropriate tab to select the desired functions. Check the appropriate check box to represent the type of complex numbers. Pol is for Polar or Rectangular. Checked Pol is Polar and unchecked is Rectangular. Lin is for Linear or Decibel. Checked Lin is Linear and unchecked is Decibel. Deg is for Degrees or Radian. Deg checked if Degrees and unchecked is Radians.
With this tab screen you can perform the complex basic functions. These include the Clear functions to clear A, B, C, M and All registers. Then there is the Sum, Subtract, Multiply and Divide functions. Also included are the value transfer functions to copy values to other registers. Finally check if you desire the outputs to be in scientific format or not.
Note C register is the answer register, A & B registers are inputs and M is the Memory register. If Unary input (single value input value to “A” register answer still in “C” register)
The example below has A (2.0, 4.5) and B (3.0, 2.3) and the sum is C (5.0, 6.8) all with Rectilinear, Linear and Rad (ignored in Rect input).
Figure 41 – Complex Basic Calculations and Operations
With this tab screen you can perform the Exponential functions. These can be binary or unary in nature. The Root, power, Cross and Dot products are all Binary functions and require “A” and “B” register inputs and give the answer in the “C” register. The remainder of the exponential functions are Unary and only require an “A” register input and give the answer in the “C” register.
Figure 42 – Complex Exponential Calculations
With this tab screen you can perform the complex transcendental functions. These are all unary functions and need the inputs to the “A” register and have the output to the “C” register.
Figure 43 – Complex Transcendental Calculations