Questions tagged [16-bit]

Referring to computer architecture with addresses and other data units 16 bits wide.

In computer architecture, 16-bit integers, memory addresses, or other data units are those that are at most 16 bits (2 octets) wide. Also, 16-bit CPU and ALU architectures are those that are based on registers, address buses, or data buses of that size.

414 questions
0
votes
1 answer

SQLite database encryption

I am using open_ssl to create public and private keys to secure the transaction of a database and the server. The problem is that the database's (sqllite) only have the input of a byte array of 16bits. The open ssl method that I'm using creates…
cwiggo
  • 2,541
  • 9
  • 44
  • 87
0
votes
1 answer

The usage of push in 16bit - tasm

.data SUM DW 250h .text push SUM call func .... func: mov bp, sp mov ax, [bp + 2] inc ax mov [bp + 2], ax ..... When I use the push instruction do I push the reference of SUM, or the value? And…
Jah
  • 1,019
  • 1
  • 11
  • 25
0
votes
2 answers

Android: How to get pixels of a single channel 16bit PNG Bitmap

I have a png file created with python PIL that contains an height map (positive values). The format is : single channel (grey level) at 16bit, thus 16 bit per pixel. I read the file on android with BitmapFactory.decodeStream(<...data input…
alexroat
  • 1,687
  • 3
  • 23
  • 34
0
votes
1 answer

16-bit obj files VC++

How do I compile my VC++ project to a 16-bit flat object file for use in my bootloader I am working on? To my understanding, an object file is technically already "flat" and the linker turns it into the destination executable format. What I want it…
Cole Tobin
  • 9,206
  • 15
  • 49
  • 74
-1
votes
1 answer

C# EmguCV PictureBox - How to display unsigned 16 bit grayscale images?

I have a monochrome camera in my project that I read images of at either 8bit/16bit depth. I'm using EmguCV library to create a Mat object out of byte array that I read off the camera and want to display the images on an EmguCV PictureBox…
p0miki
  • 23
  • 4
-1
votes
1 answer

I don't know how this 16Bit value change to decimal value

How 0x3333 0x41DF could be 27.9 value? I use hexadecimal to decimal value but it was 1B.E6666666666666666666.
-1
votes
3 answers

Creating and analyzing a control word in C Code

I wanted to create and analyze a 16-bit control word, this should be done in C code. Each bit should be evaluated, since each bit has a specific function. There can be an instruction that several bits should come and be analyzed at the same…
Markus
  • 21
  • 1
-1
votes
1 answer

How to change file pointer or seperate lines when reading a file in NASM 16-bit?

I know how to write and read files in NASM 16-bit but is there a way to either move the file pointer to read a single line? Or at least split the lines in different strings? It's for a game that has a config file and a string list. If you don't like…
-1
votes
1 answer

16 bit raw image processing libraries for Python?

Are there any good libraries for Python that can do various image processing functions like White Balance, Histogram Equalization, etc, with 16 bit raw image files? I've searched for something like that for a while but couldn't come up with…
TheTomer
  • 143
  • 3
  • 11
-1
votes
1 answer

how to create a simple iir low pass filter with not round errors? (16 bit pcm data)

i have an array of n length fullfilled by 16 bit (int16) pcm raw data,the data is in 44100 sample_rate and stereo,so i have in my array first 2 bytes left channel then right channel etc...i tried to implement a simple low pass converting my array…
-1
votes
1 answer

Creating a 64-bit Integer Based Off of Four 16-bit Integers

I am trying to use bitwise operators to convert four 16-bit integers into a single 64-bit integer in C (OS is Linux running Ubuntu 20.04 Server). My overall goal is to be able to do this with four 32-bit integers into a single 128-bit integer (an…
-1
votes
1 answer

Get a color from 16-bits

I am playing around with colors in C# and I wanted to know how to get a color value from a 16-bit byte array. Here is a code bellow where I use a 32-bit byte array. var colorArray = new Color[b.Length/4]; …
-1
votes
1 answer

How to split single asm with multiple segments into multiple files with single segment?

!!!SOLVED!!!: Follow up question on stackoverflow: how can i get the dos exe build from segments in multiple asm files binary identical to the single asm file version UPDATE 0: solved the external problem but i've got a problem with setting the…
llm
  • 557
  • 3
  • 15
-1
votes
1 answer

How can I convert 32bit to 16bit image with expression?

I'm working in Nuke with 32bit float image. I would like to apply math expression (can be TCL or Python) to convert values to 16bit half float. Any ideas what math formula can I use? Can anyone please help with equation to "compress" 32 bit float…
KLB
  • 45
  • 5
-1
votes
1 answer

Why 16-bit compiler gives error for unsingned char[] declaration?

Here is code: unsigned char A[] = { 'a', 'b', 12, 256, 'c', 28 }; it compiles well in VS using x64 compiler. But 16-bit compiler gives some error and unfortunately I don't know what kind of error. The question is why 16-bit gives error in this…