Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 29th April 2008, 11:12 AM   (permalink)
Default a question about base 3 subtruction..

i cant understand how it works:
i have two bit numbers (x1 x0 ,y1 y0) which are needed to be subtruction

i cant understand why
x1 x0 y1 y0 | B D1 D2
0 0 0 1 | 1 1 0
0 0 1 0 | 1 0 1
0 0 1 1 | X X X


i cant understand these arithmetics
the first one is 0-1=-1
so in base 3 the resolt is should be three but i cant understand what meen Borrow=1
and the resolt 10
i dont understand how did they desided that

and why we have dont cares on the third example
transgalactic is offline  
Old 29th April 2008, 11:39 AM   (permalink)
Default

First, this is base 2 arithmetic, also called binary arithmetic. The columns go (right to left) units,2s,4s,8s,16s... just like base ten, which is units,10s,100s,1000s - we multiply by the base to move left a column. When we subtract a 1 from a zero it can't be done (same in base 10) and so we have to borrow 1 from the 2s column. So, 2-1=1 or in binary 10-01=01. We carry on subtracting each column until we have an answer.

For more information google binary arithmetic.

Mike.
Pommie is online now  
Old 29th April 2008, 02:06 PM   (permalink)
Default

the answer in the example you showed is
b=1 d1=1 d0=0

but you say it should be b=1 d1=0 d0=1

and what about the dont care case


?????//
transgalactic is offline  
Old 29th April 2008, 02:18 PM   (permalink)
Default

I don't understand your table. I was explaining the 0-1=-1 and why this needs to borrow one from the twos column.

Did you try googleing?

Mike.
Pommie is online now  
Old 29th April 2008, 02:45 PM   (permalink)
Default

ye i understood this stuff

i cant understand this table
espessioly the dont care case

maybe it differs because its base 3
???
transgalactic is offline  
Old 29th April 2008, 02:53 PM   (permalink)
Default

If it was base 3 it would also contain 2s and 10-1 would equal 02. It is binary.

Mike.
Pommie is online now  
Old 29th April 2008, 03:03 PM   (permalink)
Default

okkk
the solution needs to be in base thre
here is the original page of the solution

http://img411.imageshack.us/my.php?image=img8811or9.jpg

in the case of 0-3
it
000
-
011
we need to borrow out of the range so it will turn into

112
-
011
it gives us 101 (is it correct??)
not a three dont cares
i cant understand this last case
???????

Last edited by transgalactic; 29th April 2008 at 03:34 PM.
transgalactic is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Capacitor Charge/Discharge question ThermalRunaway General Electronics Chat 25 12th August 2008 05:48 PM
Silly transistor question, Voltage to the base nuttaphong191 Electronic Projects Design/Ideas/Reviews 1 25th May 2007 04:59 PM
Transistor Operation ElectroMaster Electronic Theory 1 23rd June 2006 05:26 PM
Data Logging question with high speed!!!! cubdh23 General Electronics Chat 4 16th August 2004 07:33 PM
PBX question waqar Electronic Projects Design/Ideas/Reviews 0 30th March 2003 07:21 PM



All times are GMT. The time now is 07:56 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

eXTReMe Tracker