By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,604 Members | 1,414 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,604 IT Pros & Developers. It's quick & easy.

how to add 2 8bits binary number by using VB ? help me pls

P: 8
The question is :

Consider a machine that perform calculation 4 bits a time. 8 bits 2's complement numbers can be added by adding the four least significant bits, followed by the four most significant bits. The leftmost bit is used for the sign, as usual. With 8 bits for each number, add -4 and -6, using 4 bit binary 2's complement arithmetic. Did over-flow occur ? Did carry occur ? Verify your numerical result.
Nov 17 '06 #1
Share this Question
Share on Google+
2 Replies


10K+
P: 13,264
The question is :

Consider a machine that perform calculation 4 bits a time. 8 bits 2's complement numbers can be added by adding the four least significant bits, followed by the four most significant bits. The leftmost bit is used for the sign, as usual. With 8 bits for each number, add -4 and -6, using 4 bit binary 2's complement arithmetic. Did over-flow occur ? Did carry occur ? Verify your numerical result.
Are supposed to write a program then?
If "yes" and in VB, then post the qustion in the VB forum
Nov 17 '06 #2

P: n/a
This is very helpful.
Sep 30 '10 #3

Post your reply

Sign in to post your reply or Sign up for a free account.