20 Discussion / Question Topics

Remove Filter
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 Big Tunda

Who, what, or how is memory-mapped I/O and memory maps set up in computer systems for use? I will try and be as clear as possible, and I hope someone here has the knowledge to really understand what I'm asking thoroughly, and have some answer that's good enough to make …

0
197
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
233
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 dansnyderECE

I'm attempting to manually load the hexdump of an elf file that I compiled using g++ into a processor simulation I designed. There are 30 sections to a standard elf file and I am loading all 30 segments with their proper memory location offset taken into account. I then start …

Member Avatar for dansnyderECE
0
138
Member Avatar for Boondockers

Gateway M305CRV cpu heatsink removal problem. I am replacing the power jack and disassembly was was going great until I couldn't remove the fan-heat sink. The top edge of the cover is under the copper on the heat sink making removal impossible. How do I remove the fan/heatsink? It seems …

Member Avatar for Boondockers
0
181
Member Avatar for chand.

Hi everyone, If anyone knows that how we can find that when was the first job done by our processor. Actually I want to find that my laptop is used or brand new, because I pay for brand new, but I have doubt on the dealer and some guesses that …

Member Avatar for caperjack
0
101
Member Avatar for Kunibert

Hello everyone, I have a problem with a newly assembled PC. First, here's the specs: Athlon X2 5200 Asus M2A VM OCZ Gold PC6400 2x1gb 1xSATA 160gb earhwatts PSU 500w So I put everything together (made sure I was grounded and handled everything as carefully as possible) and booted up …

Member Avatar for bobbyraw
0
99
Member Avatar for manojkumar2004

Hi, I am new to this forum so please bear with me. I want to read the bios settings (through a program) and if boot option is hard disk then i want to change the same to network boot (should save also). In nutshell, i want to configure the settings …

Member Avatar for Nick Evan
0
69
Member Avatar for planetrock

To clean dust from the fan of a Compaq Presario 2100, can I vacuum through the vents? If not, is there any way to reach the dust without removing all of the following items, as instructed in HP's service manual? • Hard disk drive (page 2-9) • Keyboard cover (page …

Member Avatar for planetrock
0
163
Member Avatar for Nikkie

i asked for help from another forum and the person said things i couldnt understand . names of the parts etc. (i use amd heatsinks btw.) i need to know how to figure out how to put the heatsink on . not really how so much but where what ''end'' …

Member Avatar for Catweazle
0
78