13 Topics
![]() | |
Hi everyone, I'm trying to figure out if there is any way to do exponents using bit shifting. I know the following: x *= 2 --> x << 2 x /= 2 --> x >> 2 pow(2, x) --> 1 << x i'm looking for the equivalent bitshift, if any, … | |
Hi I am fairly new at programming, I am working on a final project for my assembly language class where I am calculating college savings, this is the formula I believe I will end up using, fv= pv(1+(r/n))^nt, but I am in desperate need of help in writing that in … | |
hello, this is my code and for some reason it does not work :/ could someone tell me whats going wrong? ;sum of all powers of 2 lower or equal to 2^n ;example n=4 => 2+4+8+16=30 .386 .model flat, stdcall option casemap: none include \masm32\include\windows.inc include \masm32\include\masm32.inc include \masm32\include\kernel32.inc includelib … | |
I need to write a program in window debug , that's Start the Bios sound | |
ARM's ASM is a breed in it's own. AMD and Intel, although different, have more closely related assembler than most. Someone mentioned the other day that AMD is just an Intel repeat, basically copying engineering designs and repeating them with reduced cost (as they don't pay to have it designed, … | |
How much longer until I'm the king of typos and stupid questions? Ok well in a different thread of mine there was a reference to BIOS.h. Does anyone know where to download it (If I don't have it comp making tarball sooo slow) or/and what's in it. I want to … | |
Ok, what would it take to write a BIOS in asembly languige, not planing on doing it. ; no money for chips and thats crazy. So... | |
How do I print values (integer) from memory addresses? I did it with ascii string value, but I can't get it to work with integer value :/ Here is my code for printing ascii string: [CODE]lui $a0, 0x1001 addi $a0, $a0, 4 addi $v0, $0, 4 syscall [/CODE] I tried … | |
Hello, I'm new to assembly and am finding myself porting someone's MASM old code to C++ for portable smartphone architectures. There's a syntax on the memory addressing I'm having trouble interpreting. Can anyone help me understand what's going on? It's probably an easy question for everyone familiar with the syntax, … | |
I was wondering how I could display more than 256 colors with the VGA color palette. correct me if I'm wrong, but the reason that you can't display more than 256 colors at once is because each byte in video memory corresponds to one pixel on the screen. But because … | |
I have read about how multicore processing works of the Intel. The manual that I read had left out a part that would of been useful how to actually use multiple cores. It just explained how all the different parts of the CPUs interact with each other, so could someone … | |
I am wondering how to change the VGA resolution and the video memory pointer in real mode assembly (nasm). I have no idea how to do this, so can anyone help me? | |
Intel is known for being…well, Intel. They have been making processors and the like for as long as anyone cares to remember and while they may be the current reigning champ in the desktop PC processors wars, the same cannot be said about the oh-so-popular “gadget” market. Intel is a … |