#include<stdio.h>
#include<conio.h>
void main()
{
int n,i;
clrscr();
printf("Enter the number on which left shift operation is to be performed: ");
scanf("%d",&n);
printf("\nBefore shifting the number was: %d\n",n);
i=n<<2; //LEFT SHIFT OPERATION
printf("After shifting the number is: %d\n",i);
getch();
}
Suppose you want to add 11 and 12.instruction are : mvi a,11h mvi b ,12h mov d,b add b
If you assume that it has a 16-bit data bus, then it would be 128k so the microprocessor can access 2^16 points, which is 64k (from it being a 16bit address) 16bits = 2 bytes (memory) so through a 16 bit memory, it can access 2*64k, which is 128k alternatively, if its 8bit memory, 8bits=1byte 1*64k = 64k I'm no expert, and i was searching for the answer myself, hope this helped
An 8 bit number is a maximum of 255, the highest prime number less than or equal to this is 251 or 11111011Ans 2.The above is correct for the largest prime storable in a single 8bit storage location.However the question asked what can be stored in an 8bit computer. Anyone working with numbers would tend to program an 8bit computer to use more than one location to store each number.In fact, since we are talking of prime numbers there is a simple, fast algorithm to store primes very compactly, and recover them quickly and easily. 32KB of RAM can hold all the primes less than 95,000 with room to spare for the compaction and decompaction algorithms.A 1GB memory will hold all the primes less than 3 x 1010 .
Suppose you want to add 11 and 12.instruction are : mvi a,11h mvi b ,12h mov d,b add b
use two of them for 8 bits.
He does Let's Plays of Old and Recent 8bit and 32bit games.
32 bit
IPV4 is 32bit (4 times 8bit) rgds
so they fit correctly into an 8bit or 16bit slot
8-bit is a surrounding of a video game e.g. Mega Man. 8-bit is from the Atari Computer System.
There are many ways to accomplish this but probably the most common is the use of a 'shift register'. A shift register is just a device which takes in the serial binary, and pushes each recorded bit into the next slot in it's 'memory'. so say you are sending an 8-bit number serially, say: 10110110. The shift register would have 8 memory slots, looking like this: 00000000 the digits would usually be transferred right to left, so they'd be sent in this order: 0, 1, 1, 0, 1, 1, 0, 1 sequentially, then out shift register would look like this: 10000000 01000000 10100000 11010000 01101000 10110100 11011010 01101101 once the register saw that it had received 8 bits, it would spit out the 8bit received number: 01101101, which is the mirror image of our original number. If we then take out parallel data lines and send the first one to the eighth, the second to the seventh, etc. we will have: 10110110, our original number, now in parallel format.
There are many ways to accomplish this but probably the most common is the use of a 'shift register'. A shift register is just a device which takes in the serial binary, and pushes each recorded bit into the next slot in it's 'memory'. so say you are sending an 8-bit number serially, say: 10110110. The shift register would have 8 memory slots, looking like this: 00000000 the digits would usually be transferred right to left, so they'd be sent in this order: 0, 1, 1, 0, 1, 1, 0, 1 sequentially, then out shift register would look like this: 10000000 01000000 10100000 11010000 01101000 10110100 11011010 01101101 once the register saw that it had received 8 bits, it would spit out the 8bit received number: 01101101, which is the mirror image of our original number. If we then take out parallel data lines and send the first one to the eighth, the second to the seventh, etc. we will have: 10110110, our original number, now in parallel format.
One bit is 2 possible colors, black, 8bit has a possible of 256
8bit = 1 byte1024byte = 1kb1,024kb = 1mb1,024mb = 1gb1,024gb = 1tb