467,161 Members | 851 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,161 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: 868
Share:

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@lycos.com | last post: by
6 posts views Thread by Kelvin@!!! | last post: by
4 posts views Thread by jesuraj | last post: by
5 posts views Thread by Speed | last post: by
9 posts views Thread by Use*n*x | last post: by
3 posts views Thread by zgfareed@gmail.com | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.