Continuing our look at maths functions in binary (hex is to come) lets have a quick look at subtraction
Always assume that value2 will be subtracted from value1 therefore value2 should be smaller.
The function is the same as the addition except we perform a subtraction
And we check to see if we have a negative result. If so throw a wobbly and end the action.
These binary and hex functions will be the next module added to PSAM on codeplex