16-bit Questions
10
Solved
Assuming I am really pressed for memory and want a smaller range (similar to short vs int). Shader languages already support half for a floating-point type with half the precision (not just convert...
Hunger asked 23/4, 2011 at 20:54
5
Solved
When I add two values in 16 bit assembly, what is the best way to print the result to console?
At the moment I have this code:
;;---CODE START---;;
mov ax, 1 ;put 1 into ax
add ax, 2 ; add 2 to a...
7
Solved
I am trying to install Sheridan controls (ActiveThreed 2.01) on Win7 64-bit, but evidently it is a 16-bit installer so it won't execute.
What would be the best way to get round this problem?
Ca...
2
Solved
I realize that there will likely be no special converter programs or anything easy like that for such a task, but it imperative that I find some way to get a 16-bit program to run in 64-bit Windows...
5
Solved
I've been wondering this for a long time since I've never had "formal" education on computer science (I'm in highschool), so please excuse my ignorance on the subject.
On a platform that supports ...
3
Solved
I am trying to write a compact and simple noise function with a strictly FP16 limit.
This is with what I came out so far, but I think somewhere on the operation the number gets too small for fract ...
6
As a small experimental music piece I am attempting to program a song in standard C. The code outputs a raw PCM file which can be imported into Audacity. At the moment everything works as expected,...
6
Solved
2
Solved
Why do we shift by 2 the sign extended 16bit constant in branching instruction in MIPS? I am confused with this idea. What good does this shifting brings to the sign extended 16 bit constant. Here ...
Programmer asked 7/12, 2012 at 10:19
2
Solved
Does someone know how to swap the values of 2 registers without using another variable, register, stack, or any other storage location? thanks!
Like swapping AX, BX.
Leucine asked 20/10, 2014 at 15:21
4
Solved
I'm trying to get the following result 00000000000000101 from this input 5.
This my code and it doesn't make sense:
public static int get16Bits(int x)
{
System.out.println((x & 0xffff) - ((...
3
Solved
I like a lot of what I've read about D.
Unified Documentation (That would
make my job a lot easier.)
Testing capability built in to the
language.
Debug code support in the language.
Forward Decla...
2
I began studying assembly this year in my school, and we just started learning about pixels.
Our teacher gave us some code and told us to mess around with it, he also told us to try and implement ...
4
Solved
How can I convert and save a 16 bit single-channel TIF in Python?
I can load a 16 and 32 bit image without an issue, and see that the 32 bit image is mode F and the 16 bit image is mode I;16S:
im...
3
Solved
I have been looking at this code and I'm confused about the rep cmpsb line.
.LOOP:
push cx
mov cx, 0x000B ; eleven character name
mov si, ImageName ; image name to find
push di
rep cmpsb ; te...
Risley asked 11/5, 2012 at 13:43
6
2
Solved
I am writing some little tools for MS-DOS. Now I'm writing a Shutdown.com, like for Windows XP and greater. I have already written the entire code, now I just need to pass the argument from DOS.
I...
1
1
I've tried nearly every C compiler with every setting, and I have yet to find a C compiler that can compile C into Intel x86 code that is suitable for Real Mode kernel development. I don't ne...
3
Solved
I am facing some strange results with integer division in C++. I am trying to calculate this: -2147483648 / -1.
What I get is 3 different results in 3 different scenarios:
int foo(int numerator, ...
Bliss asked 4/8, 2016 at 14:13
1
Solved
I want to halt the execution about 0.1 seconds, regardless of the clock speed of the CPU. The code should run directly from a boot device, it should therefore not use DOS interrupts.
I'm currently...
1
Solved
I'm using Tasm 1.4.
I'm trying to change the color of the background and text without clearing the previous text, but it always ends up on clearing the previous text although the colors are changed...
3
Solved
I have 16-bit PGM images that I am trying to read in Python. It seems (?) like PIL does not support this format?
import Image
im = Image.open('test.pgm')
im.show()
Shows roughly the image, but i...
Maltase asked 9/9, 2011 at 15:10
2
Solved
I've been banging my head against the wall in an attempt to understand why the following assembly is not correctly dumping the contents of 'HELLO_WORLD'.
; Explicitly set 16-bit
[ BITS 16 ]
[ ORG ...
Sarcous asked 31/5, 2015 at 18:53
1
Solved
I know this has been asked before, but I have not been able to reach a solution. I apologize if the topic is duplicated, but I think it's not.
I have a number extracted from a Uint16Array to conve...
Micrometeorite asked 18/4, 2015 at 4:38
1 Next >
© 2022 - 2024 — McMap. All rights reserved.