Featured Links

Other Topics











 


Go Daddy $7.49 .com sale 200x200
Is_skype_taking_over_voip_in_north_america.php




 
Featured Computers Articles

Removing Spyware From Computers
Removing spyware from computers isn't as easy as installing it. The first problem is that you often are completely unaware that it's even there. But removing spyware from computers is critical because there are some spyware programs that can get into ...

The Search For The Perfect Computer
Finding that perfect computer can be a challenge when the standards are always changing and you have no idea what the best computer for your needs is. It seems that the "best" computers are from different manufacturers every computer season. So just how ...

When Computers Talk to Each Other -OR- Spamming My Autoresponder
Autoresponders are marvelous tools! They are YOU working 24/7, answering questions and advertising your products automatically. All you need is for someone to send an e-mail to your autoresponder address, and the autoresponder takes over from there to ...




History Of The Computer; How Computers Multiply
 
In previous articles, 'History of the Computer - How Computers Add' and '- Flip-flops - a basic counter' we looked at adders, and counters. Now we will consider how these building blocks can be used to perform multiplication.

In the Decimal system, we can multiply by 10 by adding a 0 to the end of a number. For example 4 with a zero added becomes 40, similarly 346 becomes 3460. We can expand this by adding 2 or 3 zeros to multiply by 100 or 1000.

In the Binary system used in computers, we can multiply by 2 by adding a zero at the end of the number. Thus 110 (2+4=6 decimal) becomes 1100 (4+8=12 decimal). Similarly we can add more zeros and multiply by 4,8,16 etc. (decimal). This is one form of multiplication, the process is called shifting as each bit, 1 or 0 is shifted to the next bit position, and a zero is added in at the first bit position.

Several different techniques have been used to multiply using logic elements, as before these are usually described in a logic diagram as a 'black box' labeled multiplier. In an even more sophisticated logic diagram, this would be combined with other 'black boxes' such as adders, dividers, square roots, etc. to make one big 'black box' the ALU (arithmetic logical unit). The actual 'works' inside this unit are irrelevant to the overall design of the computer. All the designer needs to know is that if he puts two numbers into the ALU, and tells it to multiply them, he will get an output of the result.

Initially these boxes would have been made up physically of vacuum tubes, in a box the size of your bedroom, these have been gradually improved, replaced, miniaturised, until nowadays that will all fit on a chip. However the basic principles are the same.

If we analyse the concept of multiplication, we see that it is one of repetition (and we know computers excel at this). Take for example 2X4. This means take 4 lots of 2, and add them together, or 2+2+2+2=8. So to make a multiplier for a computer we can use an adder, which we have, and some method of counting, which we also have, as discussed in the earlier articles we mentioned.

For the example we just looked at, 2X4, our multiplier would have one input from the 2 (10 binary) going to a 4-bit adder. The output, or result, from the adder would be looped around to form the second input to the adder.

The second of the numbers to be multiplied, 4 (100 binary) sets a flip-flop counter to count down from 4 to 1, with one count pulse every time we add. Thus the counter is 'more than 1, which is the condition for the adder output to be routed to its input. The initial add would be 10 + 10 binary (2+2 decimal), giving 100 binary.

This result is returned to the input, gated by the counter 'more than 1' to be added to 10 again, giving 110 binary. We perform another add of 110 + 10 getting a result of 1000.

This time the counter has counted down to one, and blocks the adder input. At the same time it allows the adder result output to become the multiplier result.

You can see how this simple example could be used in a scaled-up version capable of multiplying multi-bit numbers. All we need is a lot more adders, and a few logic gates to control them, maybe throw in a bit of timing, so that it doesn't all get mixed up! As we've said before, when you're talking in nanoseconds, you can get through a lot of calculations very quickly.

Still to come we will look at how negative numbers are represented in computers, and how they handle very large numbers with something called Floating Point Arithmetic.







Computers News


TopNews United Kingdom (blog)

Former TSA Analyst Charged With Computer Tampering
PC World
Douglas James Duchak, 46, was indicted by a grand jury Wednesday with two counts of damaging protected computers. According to a federal indictment, ...
Colorado Springs man allegedly sabotaged TSA computersDenver Post
Ex-TSA worker charged with high-tech sabotagemsnbc.com
Springs Man Indicted for Attempting to Corrupt TSA ComputersKRDO

all 55 news articles »

The Tech Herald

Huge 'botnet' amputated, but criminals reconnect
The Associated Press
The drama initially raised hopes of a sharp drop-off in fraud, because criminals could no longer communicate with many computers infected with a type of ...
Zeus Botnet DisruptedThe New New Internet
Botnet Zeus merely slowed by amputationTECH.BLORGE.com
Summary Box: Huge 'Botnet' Only Slowed by TakedownNew York Times

all 219 news articles »

TG Daily

Toshiba developing a line of tablet computers to launch by 2011
ZDNet (blog)
Company execs have announced that they will have their own line of tablet computers to launch by early 2011 at the latest. It seems like a day doesn't go by ...
ARM guy: 50 tablet computers coming out in 2010CrunchGear (blog)
Toshiba Tablet Computers Later This YearCoolest Gadget Reviews
Telus to sell tablet computersFinancial Post
Geeky gadgets
all 80 news articles »

New York Times

Gadgets in Emergency Vehicles Seen as Peril
New York Times
They are the most wired vehicles on the road, with dashboard computers, sophisticated radios, navigation systems and cellphones. ...
Jury is out on emergency vehicle devicesUPI.com

all 18 news articles »

Sun Star Courier (blog)

Thief gets away with four computers: Mayfield Heights Police Blotter
Sun Star Courier (blog)
By Sun News staff THEFT, SOM CENTER ROAD: After conducting an inventory, the staff at Micro Center learned four computers were missing. ...

and more »