Final answer:
The procedure stated in section 1-5 for the subtraction of two numbers with (r-1) complement is used when subtracting numbers using a complement representation.
Step-by-step explanation:
The procedure stated in section 1-5 for the subtraction of two numbers with (r-1) complement is used when subtracting numbers using a complement representation. In this method, the (r-1) complement of the second number is added to the first number. Here are the steps to perform this subtraction:
- Find the (r-1) complement of the second number by subtracting each digit from the highest digit in the base (r). For example, if the base is 10, the (r-1) complement of 245 is 999 - 245 = 754.
- Add the (r-1) complement of the second number to the first number, including any carries.
- If there is a carry after adding the numbers, ignore it.