Re: Booth's algorithm
- From: jgd@xxxxxxxxx (John Dallman)
- Date: Sun, 30 Sep 2007 20:50 +0100 (BST)
In article <1191173244.812693.178220@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
josmatt.joseph@xxxxxxxxx () wrote:
Given x=0101 and y =1010 in two's complement notation ( x = 5 and y
= -6)
Compute the product p = x * y with Booth's algorithm. Show all
the steps involved.
Find the smaller absolute value, which is x at 5. Subtract 1 from it,
giving four. Compute y = y + y, a total of four times. y is now the
product of x and y.
L
O
O
K
B
E
L
O
W
Did you believe me? That answer is nonsense from beginning to end.
Now, some explanation: computer architecture is a fairly difficult
subject, containing substantial elements of mathematics. If you're
totally baffled by your first set of assignments, this may be a sign
that you should be seeking to switch courses immediately. If mathematics
was not one of your strong subjects in high school, you *should* switch
courses.
Because the inhabitants of this newsgroup have seen new students posting
their assignments every September for many years, they are utterly sick
of it. Therefore, a game has evolved: giving answers that are utterly
wrong, but phrased like good - indeed, often advanced - ones. The idea
is that students will either spot that the answers are wrong, and learn
that they have to do their own work, or that their supervisors will ask
them where they got this nonsense which was clearly written by someone
who knew much more than them and was having a joke at their expense.
I'm explaining this because your questions are so elementary and your
manner so naive that it seems likely to me that you are on a course that
you can't handle and should get away from it as fast as possible. This
may seem harsh. Usenet is like that.
This advice, and "read your textbooks" are the only useful advice you
will get from comp.arch at your current level of knowledge. Everything
else will be cruel jokes at your expanse. We take pride in this and give
each other compliments for cunning lies. Learning this stuff is tough,
but you have to learn it thoroughly if you want to understand computer
architecture. A winning manner and good presentation don't impress
electrons.
--
John Dallman, jgd@xxxxxxxxx, HTML mail is treated as probable spam.
.
- References:
- Booth's algorithm
- From: josmatt.joseph@xxxxxxxxx
- Booth's algorithm
- Prev by Date: Re: Jumping Jehosephat!
- Next by Date: Re: Value of Flags
- Previous by thread: Re: Booth's algorithm
- Next by thread: Two's Complement
- Index(es):