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
2 answers

Options to Convert 16 bit Image

when i open a 16 bit image in tiff format, it opens up as a black image. The 16-bit tiff image only opens in the program ImageJ; however, it does not open in Preview. I am wondering what my options are now to view the format in an easier way that…
user1911720
  • 11
  • 2
  • 2
  • 5
0
votes
0 answers

8 bit adder design? Link two 4bit adders?

Ive created a 4bit adder design but I need an 8bit. Could I create two 4bit and link the outputs together through an AND gate? My 4 bit adder: https://www.dropbox.com/s/ao60s6dgtrnhal3/4bit%20adder.PNG
redundant6939
  • 153
  • 3
  • 5
  • 16
0
votes
1 answer

OpenGL - Animate/cycle/rotate palette

I was trying to create a OpenGL version of an old plasma 8bit effect animation in DOS but I am stuck. Since almost every OpenGL program has included something to generate a palette for Win32 I thought it would not be that hard to apply palette…
Mat90
  • 169
  • 1
  • 9
0
votes
0 answers

Separating decimal value to least & most significant byte

I'm working on some 65802 code (don't ask :P) and I need to separate a 16-bit value into two 8-bit bytes to store it in memory. How would I go about this? EDIT: Also, how would I take two similar bytes and combine them into one 16-bit…
Schilcote
  • 2,344
  • 1
  • 17
  • 35
0
votes
1 answer

RBG 24bit to RGB 8bit bit shifting

How do you store 3 numbers in a single byte using bit shifting in java, ie use the first 3 bits for R, the next 3 bits for G, and the last 2 bits B. I think I know how to retrieve the numbers from the bytes, however an example with encoding and…
JAS
  • 29
  • 4
0
votes
3 answers

Does R support 8bit variables?

I am trying to read a large (~700Mb) .csv file into R. The file contains an array of integers less than 256, with a header row and 2 header columns. I use: trainSet <- read.csv(trainFileName) This eventually barfs with: Loading Data... R(2760)…
Stephan
  • 99
  • 1
  • 9
0
votes
1 answer

RoR ASCII-8bit to UTF-8 with non-latin (cyrillic) symbols in Net::HTTP.get_response.body

I need to get some data via Net::HTTP, it works good by i recieve response in ASCII-8bit. The problem is how to encode this to utf8 and save all non-latin symbols? With @content.encode('utf-8', 'binary', :invalid => :replace, :undef => :replace,…
Nataniele
  • 37
  • 9
0
votes
2 answers

Sign-extending on serial communication with termios and uint8_t

I'm trying to write bytes using the write() Unix system call, but any 8-bit value I send that starts with 1 is turned into a 32-bit value. I've tried looking to see if there are any termios flags to fix this, but I can't seem to find any. struct…
Nick Sweet
  • 2,030
  • 3
  • 31
  • 48
0
votes
1 answer

how to display a 8bit 256x256 array in c/matlab?

i have an array in c: unsigned char image_in[256*256] = { 72, 57, 55, 67, 79, 58, 52, 72, 96, 81, 72, 76, 93, 107, 91, 84, 95, 66,....IT GOES ON AND ON 256x256.....} each value is the 8bit rgb of the indexed pixel. now the…
Wops
  • 983
  • 9
  • 23
-1
votes
1 answer

Test and Verification for Designed Softcore Chip

I aim to design an 8-bit softcore processor that can be implemented on the Zedboard Zynq-7000 FPGA. What do you think I should do for validation, test and verification (what kind of testbench or assembly code)?
onurmt
  • 1
  • 1
-1
votes
1 answer

Accessing LSB and MSB from Binary 8 bit image

I am working on encryption in which the problem says: For each pixel of the image, convert the pixel decimal value into binary 8 bits. Then separate the MSB and LSB of each 8-bit pixel and convert that into decimal. I have converted the image into…
-1
votes
1 answer

Clock cycles for a 8bit CPU and memory reads

Is it possible for a 8bit CPU to read memory in less than 3 clock cycles? I know that the 6502 works with an asynchronous memory but what about other 8bit CPUs with clocked memories? Do I need a clock divider to make the CPU slower? My understanding…
Pierco
  • 79
  • 1
  • 4
-1
votes
1 answer

how to wide gamut ,convert from 8bit to 10bit

I know that the video we watched on the tv is compressed.The range of the gamut will be narrow.I want to know if there is a magical way can achieve the extending.Dolby claimd the Perceptual Quantizer(PQ)EOTE .there is two function Eg.the…
zhx
  • 9
  • 4
-1
votes
2 answers

What is the size of int on a 8-bit processor?

I was asked in an interview, what is the size of integer on a 8-bit processor machine? I answer 8 bits. Is it right?
-2
votes
1 answer

Why is my 8-bit counter stuck at 0 or 255?

I am trying to write some simple Verilog code for practice reasons. I am using the FPGA Cyclone 4. My 8-bit counter works fine with the on-board clock (50MHz), but it's way too fast to see the LEDs at that speed, so I tried first to slow the clock…
1 2 3
14
15