Questions tagged [8-bit]

In computer architecture, 8-bit integers, memory addresses, or other data units are those that are at most 8 bits (1 octet) wide. Also, 8-bit CPU and ALU architectures are those that are based on registers, address buses, or data buses of that size. 8-bit is also a term given to a generation of computers in which 8-bit processors are the norm.

An 8-bit number has 2^8 = 256 possible states, 8 bits is one which is why computers with this architecture use bytes as a measurement of storage, for example you can have 64 gigabytes or 64000000000 bytes of memory (RAM).

Related tags:

215 questions
-2
votes
1 answer

8 bit Frequency Divider -VHDL

Im new to vhdl and im trying to created a 8-bit frequency divider using a similar or same concept presented on the image.. can anybody help me. 4bitfrequency divider
-2
votes
1 answer

Convert 8-bit binary file to ASCII

I have a file composed of one line full of 8-bit binary number, i.e. like this: 01010100 01101000 01101001 01110011 00100000 01101001 01110011 00100000 01101010 01110101 01110011 01110100 00100000 01110100 01101000 01100101 00100000 01100010…
ggrelet
  • 1,071
  • 7
  • 22
-2
votes
1 answer

What is the representation of values in the LD instruction in the 8-bit Z80 processor?

I am having difficulties with understanding what's going on in this code: LD A, -1; LD B, 130; ADD A, B; And what flags are set to 1 after the ADD instruction. Basically, I don't know, what value is stored inside the register B. I cannot find any…
Mateusz Piotrowski
  • 8,029
  • 10
  • 53
  • 79
-2
votes
3 answers

How to convert 16 bit integer to 8 bit without loosing the data values of the 16 bit integer when the range of 16 bit integer is 0-255

int samples = 8; for (unsigned int i = 0; i < (pow(double(2),samples)-1); i++) { unsigned int number = i << 1; } I am doing the coding in C++ using Opencv library. I want to do bitshift through this and this should be in the range of 0-255 but…
hawkeye
  • 349
  • 4
  • 21
-4
votes
1 answer

How to make an 8 bit Binary Calculator

So I made an 8-bit binary calculator but I kinda cheated with the following methods. public static int[] convertToBinary(int b){ String toStr = Integer.toBinaryString(b); String fStr = ("00000000"+toStr).substring(toStr.length()); …
BruceTheGoose
  • 63
  • 1
  • 10
1 2 3
14
15