Advertisement

Experts Exchange is proud to recognize the top Experts of 2008. Alter egos aside, these Experts are technological superheroes!

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Top Assembly Solutions: 1 - 19 of 19
  • 1
 
How do I write an x86 assembly function that recursivly calculates exp(2,n) ie 2^n using the stack to pass n. Please note the code below is stuck in a loop only run in your debugger, plus i...
Hi experts, I dont know whats the error in this code,please help me to convert the numbers data segment count DW  8 BIN   DW  8  dup(0) HEX   DB  '0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F$' msg...
Hi, I want to write atomic operations (incr, dec, xchg, mod) which should support on almost all architectures. Can anyone point me to resource available on thsi on net or in EE? Someone ...
Code some one help me with what the following code is trying to achieve Thanks
Can someone explain this code snipshot and suggest necesary changes to return the updated value pointed by *ptr.
Here is the object dump of my the bomb program: bufbomb:     file format elf32-i386 Disassembly of section .init: 080486c8 <_init>:  80486c8:     55                        push   %ebp  80...
I need to convert some intel/wind32 asm code to c code. See below. int tick = 0;  __asm  out 070h, al __asm  xor ax, ax __asm  in  al, 071h __asm      mov word ptr tick, ax please feel...
I  need the following assemble code converted to C code. The bsf instruction is the main part that I do not know. Thanks mov eax, 80000000h      mov bx, 4000           loop1: bsf ecx,eax     /(Bit Scan F...
I have 32 bit architecture OS. I want to do 32 bit and 64 bit integer arithmatic operations. - How 32 bit integer operations differ from 64 bit integer operations on 32 bit machine. - How 32...
Hi, Sorry for putting this in the ASM area - although it appears to be the closest areas. I'm quite curious about microprogramming, although the useful resources (aka a paragraph) are fe...
I have a c program that I compile with gcc (gcc with hc12 patches).  The new CPU I'm working with has a co-processor and isn't supported in gcc-68hc12.  There is a open-source assembler for th...
Hello, I've got a quick question after reading few articles describing ASM. As far as I know, registers are used to store variable (except EIP) and each of them have limited size. I disassemb...
Here is the object dump of my the bomb program: bufbomb:     file format elf32-i386 Disassembly of section .init: 080486c8 <_init>:  80486c8:      55                         push  ...
Hy, Can anyoane help me with a fixed point substraction routine in emu 8086?
I'm trying to write my first simple assembly program using the gas assembler on Linux, with AT&T syntax. The program is meant to simply push some characters onto the stack, and then output ...
I want to take the next step in my web programming development. I'm tired of using the same methods, events and functions over and over for different applications. I want to build an assembly ...
Cant figure out the issue here, this should work but I keep getting a symbol type error. I am new to assembly so any help would be great.
Im trying to verify my thinking on how gcc/asm puts this together. PTA7 for example would equal 0x007f ??  If that is correct why define "CORE1+0x00"  ? Why CORE1+0x00 and not just CORE1 ?
Hi, I know what the instruction "AND" and "OR" means in assembly, but I just wonder when and why we need them. Thanks
 
  • 1