Question

In: Computer Science

Could you give me a 7-bit example of non-restoring binary division algorithm using: Dividend: 1100000 Divisor:...

Could you give me a 7-bit example of non-restoring binary division algorithm using:

Dividend: 1100000

Divisor: 01011

Solutions

Expert Solution

  • Steps to perform  Non_Restoring Division for Unsigned Integer
  • Step-1: First the registers are initialized with corresponding values (Q = Dividend, M = Divisor, A = 0, n = number of bits in dividend)here Q=1100000 Divisor=01011 n=7
  • Step-2: Check the sign bit of register A(most significant bit of A)
  • Step-3: If it is 1 shift left content of AQ and perform A = A+M, otherwise shift left AQ and perform A = A-M (means add 2’s complement of M to A and store it to A)
  • Step-4: Check again the sign bit of register A (most significant bit of A)
  • Step-5: If sign bit is 1 Q[0] become 0 otherwise Q[0] become 1 (Q[0] means least significant bit of register Q)
  • Step-6: Decrements value of n by 1 ie n=n-1
  • Step-7: If n is not equal to zero go to Step 2 otherwise go to next step
  • Step-8: If sign bit of A is 1 then perform A = A+M
  • Step-9: Register Q contain quotient and A contain remainder
  • Diviidend =(1100000)2=(96)10

    Divisor: (01011)2=(11)10

  • Final answer: Quotient=contents of Q=(0001000)2=(8)10

    • Remainder= contents of A=(01000)2=(8)10


Related Solutions

Can someone give me an example an non example of coefficient?
Can someone give me an example an non example of coefficient?
Consider the bankers algorithm for deadlock avoidance. Give an example of this algorithm for 7 processes...
Consider the bankers algorithm for deadlock avoidance. Give an example of this algorithm for 7 processes and 5 resource types.
Give an example of the pair of assembler instructions equivalent to a push using 32 bit...
Give an example of the pair of assembler instructions equivalent to a push using 32 bit ISA.
Explain the four actions framework; give me an example of how a new product could be...
Explain the four actions framework; give me an example of how a new product could be created using this framework.
Could someone give me an example of how to find net uplift wind pressure on a...
Could someone give me an example of how to find net uplift wind pressure on a wall or gable roof?
can you give me any example by using this methods : 1) Collecting data in table...
can you give me any example by using this methods : 1) Collecting data in table 2) Histogram chart 3) Pareto chart You can use software and i want sketch for three methods.
You are using a poorly constructed 4-bit natural binary-coded absolute encoder and observe that
You are using a poorly constructed 4-bit natural binary-coded absolute encoder and observe that, as the encoder rotates through the single step from code 3 to code 4, the encoder outputs several different and erroneous values. If misalignment between the photosensors and the code disk is the problem, what possible codes could result during the code 3-to-4 transition?
client education for the disease pellagra. if you could please give me an outline for a...
client education for the disease pellagra. if you could please give me an outline for a paper
Could you give me the answers for these from the case studies in Introduction to sport...
Could you give me the answers for these from the case studies in Introduction to sport law 2nd edition: Case 2.1 1. According to the court’s decision, what was the general rule pertaining to the liability of the baseball club for the acts of one of its players? 2. What risk management implications does this case have regarding event management? How can this case be utilized to further you understand of your future career in athletics? Case 2.3 1. What...
Give an example of one situation that you are acquainted with that could be construed as...
Give an example of one situation that you are acquainted with that could be construed as an example of age discrimination. Explain how, if at all, the possible remedies for age discrimination provided in the text could have avoided the situation described in your example.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT