kenshin Posted July 5, 2006 Posted July 5, 2006 How basic arithmatic operations are performed by a computer at hardware level.Putting it in another way,what kind of assembly,in what manner takes a binary strings as input (say 10(for 2) and 11(for 3)) and produces an output (like say in case of addition 101(5)).By "what kind of assembly",I mean the combinations of gates and other electronic components. Thanks in advance.
YT2095 Posted July 5, 2006 Posted July 5, 2006 you`de load a register with one number using an LD (designation).(numeric value). then load the accumulator with the other number LDA (numeric value) then add them with ADD (register designation) command. from there you can do what ever you like with the sum stored in the accumlator, maybe put it out to a mem location etc... as for the hardware (gates) you`de need to use full adders with carry. ina CPU though all this is done by the ALU.
kenshin Posted July 5, 2006 Author Posted July 5, 2006 Yt,can you(or anyone else)explaine to me how it happens bit by bit using a small example(say 3+2=5).Thanks.
YT2095 Posted July 5, 2006 Posted July 5, 2006 that would take forever in text without diags etc... but here, This may help: http://isweb.redwoods.cc.ca.us/INSTRUCT/CalderwoodD/diglogic/full.htm
RyanJ Posted July 6, 2006 Posted July 6, 2006 http://computer.howstuffworks.com/microprocessor.htm Should also help (Love Howstuffworks... great detail!) -- Ryan Jones
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now