2000 organizations, including eBay, Ericsson, and Lockheed Martin, now work smarter with Corporate Accounts. Save over 36%!

 

Having problems asking a question? Have a general question about Experts Exchange? Let us know!

 
Time Tested Assembly Solutions: 151 - 175 of 330
 
Can you please decompose this line of assembly code and tell me what it exactly does and how      __asm__("andl %%esp,%0; ":"=r" (current) : "0" (~8191UL)); Thanks
I need to code a calculator using NASM on Linux, and all it needs to do is  addition. When I compile, it keeps writing "invalid effective address" at line 81, which is in 'number' subfunction,...
i need some help with my keyboard assembly interrupt 9h hooking procedure.I have a lot of experiance with assembler but not with hooking ints. im writing a music synth program that uses the ke...
How can I write data to a plain text file using a BASIC stamp and a memory card (SD or Flash)?
I have this lab that asks me to modify ncopy.ys with the goal of making ncopy.ys run as fast as possible. (I'll ask my questions at the end of this.) Here's what you need to know: 1) Th...
I'm looking for a simulator for the HCS12 Microcontrollers.  I would like to be able to use it so that I can practice assembly language
Hi, Does anyone knows where can I find a simple C Code that build an Assembler Compiler? (I need to simulate in VC 5.0 a very simple assembler compiler) Thanks TheShark
Hi, for some reason I need the time a piece of assembly code should need. In the good old 8086 time the Intel Manual told how much time a single instruction need. I have tried to read the...
This has probably been asked and answered 10E+6 times, but can somebody recommend a good x86 opcode table (available on the web) which includes CPU cycles for each instruction?  I'm coding som...
Hi guys for study reason i really like to get a full i/o port list whit realtive reference on registrers and beaviors. I have zapped for long on google, and hacking forums but i have find only...
I have been messing around with MASM for some weeks now and I want to try and make something that would interest me like a game. So I thought I wanted to make a Maze game. Not sure on size yet...
Why does memory access take more machine cycles than register access? Assembly Language for Intel-Based Computers.
HI,  how do i: 1. declare variables called max and min.  Assign value 12 to each variable.  Add them in the EAX register and display their sum using the DumpRegs call. 2. How can i do it us...
The following function works 30% faster than CRT memcpy on my Pentium IV: void mem8( LPBYTE d, const BYTE* s, int _size ) {     _asm     {         mov edi,d;         mov esi,s;     ...
I am using debug.exe for assembly language, and the screen buffer resets to 25 lines when I run debug.exe in a command window. I am therefore unable to view lines that run off the window. R...
I've been searching on the net and playing around for hours and still haven't got IO to work properly for this language. All I need is a way to be able to display a character onto the screen, ...
the difference between lea and mov, and the meaning of rep stos?
Did anyone work on this or have any ideas (I am using Irvine16/32 lib) my requirement  is ***************************** Sieve of Eratosthenes.This algorithm finds all the prime numbers in a ...
I'd like to initialise a STRUCT with a DUP(<>) in it, in particular: MyTokenPrivileges TOKEN_PRIVILEGES <> Anyone who's done a reasonable amount of work with MASM on Windows structures s...
Can anyone tell me what are the disadvantages and advanteges of it, if I were to design one for an assembly source?
I have been looking for a answer with no luck for a while now. My question is how do i use command line arguments to a COM file in asm. My compiler is tasm 3.1 my declaration in my file is ...
This code compiles fine, but generet the following error when I run it: "Unhandled exception at 0x00401009 in consapp.exe: 0xC0000005: Access violation reading location 0xffffffff." what...
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 ...
Hi all, I I have project in my study to prog ic 89c51,I have programmer and programed many ic wiyth rwady dump or code,I have know some i nfo in programmme language liek c++,and assemble for...
Hello, first of all I apologize for my english, it's not my first language. I'm posting here because your fellows of Hardware couldn't deal directly with the matter at hands, anf they've su...