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

Convert audio to 8-bit signed PCM

I have a .mp4 audio file that I want to convert to a 8-bit unsigned PCM format for an Arduino Uno using the TMRpcm library. It also could be a .wav file. Anyways, I have tried many things to no avail. The closest I got was with Audacity using the…
Coder-256
  • 5,212
  • 2
  • 23
  • 51
2
votes
2 answers

Is it safe to send 8-bit emails?

I would like to know if it is safe to send emails with 8-bit characters or if it is still needed to use quoted-printable or base64 encoding. The 8BITMIME extension is now 20 years old. Are there SMTP servers or mail clients that still are not 8-bit…
Ale
  • 1,914
  • 17
  • 25
2
votes
1 answer

FFMpeg Converting a video to 8 bit BMP frames

I have been having trouble converting a video to 8 bit BMP frames. How to convert it using FFmpeg? or have suggestion software to do that?
Myrda Sahyuti
  • 63
  • 3
  • 7
2
votes
1 answer

Java for ImageJ. How to convert an image from RGB to 8 bit using code?

I am currently working on Connected Component Labelling. This is a process which takes an image and tells you how many separate objects are in the Image. My problem is that at the very start I need to be able to take any image (specifically RGB…
Liam Barrett
  • 45
  • 1
  • 7
2
votes
2 answers

Trying to make program that counts number of bytes in a specified file (in C)

I am currently attempting to write a program that will tell it's user how many times the specified 8-bit byte appears in the specified file. I have some ground work laid out, but when it comes to making sure that the file makes it in to an array or…
m96
  • 199
  • 1
  • 3
  • 10
2
votes
4 answers

audio to 8-bit text sample conversion

I have an interesting question today. I need to convert some pokemon audio files to a list of 8-bit samples (0-255 values). I am writing an assembly routine on the MC6800 chipset that will require these sounds to be played. I plan on including an…
jonathan
  • 23
  • 1
  • 3
2
votes
0 answers

How to draw 8-bit shapes in HTML5 canvas

I'm currently working on porting Atari arcade games to HTML5 and stuck on how to implement retro-style shapes. Since the element does not support disabling pixel interpolation across browsers all too well yet, low-res games appear blurry…
ikradex
  • 131
  • 2
  • 5
2
votes
2 answers

Move an 8 bit register to a 16 bit memory location, how?

I have problem moving 8 bit register to a 16 bit register. What i'm trying to do is to divide a number repeatedly by 10 til it gets lower than 10, and, within each division time, i try to move out the remained part of the division out from AH…
user1547062
  • 23
  • 1
  • 3
2
votes
1 answer

Are there modern compilers for high level languages on simple processors which produce self-modifying code?

Back in the days before caches and branch prediction, it was relatively common if not encouraged to make self-modifying code for certain kinds of optimizations. It was probably most common in games and demos written in assembler in the eras between…
hippietrail
  • 15,848
  • 18
  • 99
  • 158
1
vote
0 answers

Algorithm of HDR viewer of GIMP, Photoshop or anything similiar

I am in search of an algorithm capable of displaying an HDR image on an 8-bit screen. Essentially, I require an algorithm that converts HDR to LDR. Specifically, I am aiming to achieve results comparable to those produced by GIMP or Photoshop. I…
Tiberius
  • 29
  • 5
1
vote
1 answer

Z80 Assembly for ZX Spectrum how to use a variable as PRINT AT coordinates

I've been messing around with the ZX Spin emulator and Assembly language. I used to write BASIC games back in the 80s, and always wanted to learn machine code, but too stupid as a 12 year old kid. I've been putting this simple code together that…
Davy C
  • 639
  • 5
  • 16
1
vote
0 answers

8bit Quantization: Prediction outputs uncorrelated to underlying model

I quantized a basic TFLite regression model to int8 but the prediction output seems to be highly uncorrelated with the actual underlying model prior to quantizing it. All the code and steps taken to train and quantize the model are seen below to…
Bemz
  • 129
  • 1
  • 16
1
vote
0 answers

LHLD doesn't assign a value to register HL

so I'm in the stages of finishing my Intel 8080 emulator and encountered a problem with the LHLD mnemonic. So, whenever I run the Altair Clone CPU Test Files I encounter a bug. So I have a sequence of 4 files being executed at a time and they…
cdunku
  • 31
  • 3
1
vote
1 answer

DEF FN(x) How does one transfer / translate "Define Function" command to VB.NET?

The 8bit code is: ... 90 DEF FNX(D)=INT(RND(0)*D*8-D*3) 100 DEF FNDS(D)=INT(SQR(ABS(P(D,0)-P(L,0))^2+ABS(P(D,1)-P(L,1)^2+ABS(P(D,2)-P(L,2))^2)) ... 150 FOR I = 1 TO 9 :... ... 180 P(I,0)=FNX(I):P(I,1)=FNX(I):P(I,2)=FNX(I) ... 220 NEXT I ... 1080 FOR…
dazeleeper
  • 13
  • 5
1
vote
1 answer

More than 256 operations in an 8 bit pic16F assembler

I am a rookie in assembly programming and I am currently doing a project using a temperature sensor on MPLAB and it's values to be displayed on a LCD. In order to convert the raw values (0 to 255 based on the output voltage) from the sensor to the…
Auster
  • 11
  • 2