Sunday, 29 September 2013

Division of two binary numbers

Division of two binary numbers

So here I am facing a problem.I have only 25 instructions in my
instruction set.(no multiply,divide,subtract, increment instruction). now,
I am trying to preform a binary division.My problem is, how can I know if
the divisor is smaller then the dividend in order to subtract them both
(in 2's compliment form)?
INSTRUCTION SET:

No comments:

Post a Comment