13 Topics

Member Avatar for
Member Avatar for losh177

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, …

Member Avatar for turboscrew
0
2K
Member Avatar for globueno

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 …

Member Avatar for Assembly Guy
0
1K
Member Avatar for jannesb1

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 …

Member Avatar for jannesb1
0
214
Member Avatar for mohamed moamen
0
135
Member Avatar for baldwindc

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, …

Member Avatar for caperjack
0
232
Member Avatar for Zssffssz

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 …

Member Avatar for pseudorandom21
0
330
Member Avatar for Zssffssz

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...

Member Avatar for AMarchini
0
196
Member Avatar for Mizki

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 …

Member Avatar for Schol-R-LEA
0
6K
Member Avatar for orion3184

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, …

0
156
Member Avatar for ThatGuy2244

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 …

Member Avatar for ThatGuy2244
0
317
Member Avatar for ThatGuy2244

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 …

Member Avatar for GunnerInc
0
581
Member Avatar for ThatGuy2244

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?

0
140
Member Avatar for b10hzrd

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 …

1
661