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
0
votes
1 answer

Can I buy a single MAC address for a computer project?

So, I'm currently building an 8-Bit computer, and working on getting it connected to the internet, clearly just on a simple LAN to start off, in the hope of making ARP requests and such like which would be pretty cool. I have had a little look…
0
votes
1 answer

Java program to calculate 8-bit checksum

I have an assignment to calculate the checksum of a number of 8-bit binary numbers. I've come a long way but for some reason it's giving me the wrong result. For example if x is: 10101010 and y is: 01101111, the checksum would be 11100110. But my…
0
votes
1 answer

Issue with an 8-bit ALU: the program won't stop and I need to verify that the specifications are reached

I have a big issue with an 8-bit ALU. To begin with, the code won't stop running. Second, a chart of specifications was given, and I believe I'm missing some of them Here are the specifications: Specification Data Inputs: A (8-bit), B…
GHG HGH
  • 37
  • 3
0
votes
1 answer

How to differentiate +128 from -128 in an 8-bit memory location in binary representation when their representation is the same?

In an 8-bit memory location, the integer +128 is 10000000 but also using two's complement method -128 integer is represented as 10000000. I find this weird. Why is +128 or 128(unsigned) represented as 10000000? The leftmost bit is 1, and this means…
user134613
  • 109
  • 4
0
votes
1 answer

Read binary data as three UBYTE (8-bit Unsigned Byte) in MATLAB and use bit shift operators to get two 12 bit streams

I need to read the data as UBYTE (8-bit Unsigned Byte) in MATLAB and then used bit shift operators to get two 12-bit streams with 3600000 samples. I have to do that by a command that the first two 12 bit values are contained in the first 3 UBYTEs,…
0
votes
1 answer

Does SMTP transfer 7bit or 8bit characters (clear MSB or not?)

My understanding is that the original SMTP protocol was defined to limit transmission of characters using only 7 bits to save of transmission costs. This protocol is almost 40 years old, and since then multiple RFCs have extended the standards. For…
Cyril Graze
  • 3,881
  • 2
  • 21
  • 27
0
votes
2 answers

Why is an AES encrypted string saving as blank to MySQL table with Ruby?

I have a model called Encryption which generates an AES encrypted string and saves that to a database table called encryptions. My encryption table schema is as follows: id : bigint unsigned user_id : bigint unsigned encryption : VARCHAR(128)…
Chad Johnson
  • 21,215
  • 34
  • 109
  • 207
0
votes
0 answers

How do you compare one number to another to see if it is greater or less in assembly

So I am using a very strange CPU. It does not use bitwise operators and instead uses addition, subtraction, multiplication, division and modulo. It is 8 Bit and uses 5 registers, the accumulator and the X, Y, Z and PC registers. Here is the…
0
votes
2 answers

How to limit the result of binary conversion to a maximum of 8-bits (255)?

How can I limit the resuly to only 8 bits? I have to add two binary numbers and convert the result to decimal. How to limit the sum to only 8 bits or 255? def BinaryToDecimal(binaryNum): binaryList = [] decimalNumber = 0 while binaryNum…
Sank2058
  • 1
  • 2
0
votes
1 answer

FFMPEG Transcode H265 video from 10-bit to 8-bit

I'm trying to convert my library from various formats into HEVC 8-bit mainly to shrink my library down. This is generally working but I've run into an issue when trying to convert an existing file from 10-bit H.265 to 8-bit H.265. My processor, an…
Zach
  • 53
  • 1
  • 7
0
votes
0 answers

VHDL Adding and two 8 bits registers in Simple 8bit Processor

I need to create a simple 8-bit processor that will add and subtract two registers. The result of addition and subtraction must be saved in register A. Data in registers A and B should be entered using the D_IN input. Then I send register A to the…
Boniek
  • 13
  • 4
0
votes
1 answer

Why is the bpp information at 0x1C in this .bmp image wrong?

Address 1D indicates the image is eight bits per pixel, but it isn't, each pixel is represented by 3 bytes (24 bits). At first, I thought photoshop did this in error, but I found that this format was used for all greyscale images. Instead of using…
superlazyname
  • 265
  • 3
  • 7
  • 17
0
votes
0 answers

Why is the bitmap we are generating, from a single black pixel, 1KB?

Using C# and Visual Studios I am trying to find any documentation on how 8-bit greyscale images are encoded but no amount of research has resulted in any information. When we convert a bmp file (created with a forced depth of 8-bit), of a single…
0
votes
0 answers

Fast 8bit multiplier in assembly

I have MCU in Logisim and following asm code. It is working but I have to improve it - make it faster. How to do that? I understand that it depends on data input. My ideas - arrange input operands. For example 2*5=5+5 and the same 5*2=2+2+2+2+2 so I…
Eifel
  • 53
  • 7
0
votes
1 answer

Why is this array pointer shifted by 1?

I am studying for an exam in microprocessors and this example question has come up: In summary of it, there is an array in program memory after the code: array: .db 11,12,13,14,15,16,17,18,19,20 and in the code the pointer is loaded as: ldi ZL,…