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

PIC18F SPI slave interrupt receiving multiple bytes at 4 MHz issue

I am writing code to receive SPI data in an interrupt service routine on a PIC18F2680 microcontroller that is running at 40MHz that needs to receive 2 bytes (16 bits) of data from another microcontroller. The PIC only receives data (passively…
user2339652
  • 19
  • 1
  • 4
0
votes
1 answer

Identifying Data Type From Binary File

Using javascript, I want to read data from a file that looks like this: 1003 0000 1b0c 0900 0300 1000 0003 0200 0a00 0302 1102 030c 1b00 1a03 0000 0100 1200 030a 090c 1b00 0307 1000 1003 1400 What data type is this? Is it a collection of 8-bit…
ezero
  • 1,230
  • 3
  • 12
  • 27
0
votes
1 answer

Getting numbers pressed via IR

I am having a bit of trouble moving on with what I am trying to do here. I have an IR receiver set up to just check for incoming signals, which it does. I am using a simple remote control, 0 - 9 on it, which is obviously 10 numbers. Here is my code…
user1813278
0
votes
2 answers

How to get the Ansinerator library to work?

I'm trying to get the Ansinerator library to work my on my localhost, but something's amiss. I'm receiving the following errors: Notice: Undefined index: hash in ansi.php on line 23 Notice: Undefined index: aml in ansi.php on line 37 Notice:…
Tomer Lichtash
  • 9,002
  • 16
  • 55
  • 71
0
votes
1 answer

Convert 14-bit image to 16-bit TIFF using C#

I have a buffer with 14-bit image (640 x 512). I need save this image as 16-bit TIFF. So, each pixel takes 2 bytes, and I can trasform into grayscale (8 bit) like this: (buffer[index] | buffer[index + 1] << 8) & 0x3FFF (index is number of pixel for…
Alexey
  • 35
  • 1
  • 10
0
votes
1 answer

How to edit and save 8 bit indexed color logo?

I bought RE/MAX fransichzing and I need edit official logo from remax.com in adobe photoshop. But there is little problem with editing their logo in photoshop. If I open their png logo, layer is really wierd - image is in 8 bit indexed color: Logo…
0
votes
4 answers

Is a fullscreen 8 bit framebuffer possible in X11, and if so, what am I doing wrong?

I'm trying to get a fullscreen 8 bit depth framebuffer but I can't find any visual to work with. I want 8 bit truecolor, where 3 bits are red, 3 bits are green and 2 bits are blue. I'm using XF86 to go fullscreen. // pass int found =…
ytrp
  • 271
  • 2
  • 8
0
votes
1 answer

Is it possible that making indexed color 8bit png with transparent by c#?

I'm looking for the way that making indexed color 8bit png with transparent by c#. I have to convert png except 8bit png to 8bit png. I can make a indexed color 8bit png, but I can't set transparent into the png. How do I make it? To begin with, is…
0
votes
3 answers

How to convert a JPG image to an 8-bit PNG image and save in C#?

I have captured a JPG image using a Webcam in C# and have stored it in a folder. Now I want to convert it to an 8-bit PNG image. I checked all over internet and Stack Overflow, but none of the proposed solutions work for me. Here is what I am…
Raja Sajid
  • 35
  • 1
  • 3
  • 10
0
votes
1 answer

Array Address on 16 bits Assembly

I'm currently working on an adress gestion system for a 8bits µprocessor. My adresses are of the form 0000000C CCCCLLLL and I'll often have to use the adresses corresponding to CCCCC and CCCCC + 1. The problem is I am limited by the 8bits…
AdrienNK
  • 850
  • 8
  • 19
0
votes
1 answer

32-bit & 16-bit arithmetic on 8-bit microprocessor

I'm writing some code for an old 8-bit microprocessor (the Hu6280 - a WDC 65C02 derivative in the old NEC PC-Engine console) with 32kb of ram and up to 2.5mbytes of data/code rom. The language is a variant of Small-C but is limited to just the two…
0
votes
1 answer

Access chip Select register with 8bit bus size

We have a problem to communicate with a register, CS4, at at 0x10020000. In U-boot that reg has the value 0x45fab3c1, but when we try to access it we get: 0x10101010 and we are not able to write too. With CS3 everything seems ok, we can read and…
0
votes
1 answer

How to add a colour palette to b/w image?

I have noticed in some tile based game engines, tiles are saved as grayscale or sometimes even black or white, and the colour is then added through storing a 'palette' along with it to apply to certain pixels however i've never seen how it knows…
Lee Fogg
  • 775
  • 6
  • 22
0
votes
1 answer

VB.NET CONVERT BYTE NUMBER TO 8 BIT (256 COLORS) RGB VALUE

I read this link Converting 8 bit color into RGB value Then I tried the VB.NET code like the following: Private Sub picturebox1_MouseDown(ByVal sender As Object, _ ByVal e As System.Windows.Forms.MouseEventArgs) _ …
Tomero Indonesia
  • 1,685
  • 2
  • 16
  • 17
0
votes
0 answers

Pythons 2.7.x docs about Unicode and why this still works?

According to the Python 2.7.x documentation: The unicode() constructor has the signature unicode(string[, encoding, errors]). All of its arguments should be 8-bit strings. The first argument is converted to Unicode using the specified encoding; if…
thedax
  • 131
  • 1
  • 5