467,867 Members | 1,318 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,867 developers. It's quick & easy.

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

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
  • viewed: 2605
Share:
2 Replies
8TB
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
This is very helpful.
Sep 30 '10 #3

Post your reply

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

Similar topics

4 posts views Thread by Leslaw Bieniasz | last post: by
2 posts views Thread by Mariusz Sakowski | last post: by
8 posts views Thread by bearophileHUGS | last post: by
6 posts views Thread by Kelvin | last post: by
4 posts views Thread by jesuraj | last post: by
9 posts views Thread by Use*n*x | last post: by
3 posts views Thread by zgfareed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.