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: 126 - 150 of 332
 
Hi there, The final part of my "homework" is to ask for the user of my program for their name and print a message to include their name... i.e thank you [john smith] So far I am here wit...
How do you determine the 4 arrow keys in assm language? I have a problem in determine the ascii codes for comparing the arrow keys when pressed.
I need to know how to do the Cocktail sorting in assembly (used to sort arrays) Am using Virgo to emulator 8086 machine this is the  description i was given //--------------------...
This is a general assembly question.  I am new to reading it, and I'm a bit confused by cmp and cmpl.  How are you able to tell what cmp/cmpl is actually comparing (as in for equality, inequal...
This may be a simple problem but i'm new to MIPS and i'm having trouble. I need to extract a field for constant values i=6 and j=23 from register $t3 and place it in register $t0. I know t...
This code will not print the flags register correctly. It appears that pushf and popf are getting a static set of bits...not the register flags in effect after the instruction. I have played a...
I am working on AT89c51 and programming it in Keil c51 compiler   #include < reg51.h>   void delay(void);   void main () {   while(1) {    P2 = 0x00;    delay();    P2 =0xFF;   d...
Hello Experts, please tell me what does the following interrrupts do 1) MOV AX 1001H MOV BH,01 INT 10H 2) MOV AX 1003H MOV BL,0 INT 10H 3) What values does the instruction MOV ...
We program Freescale MPC5500 Power PC Microcontroller in mostly 'C' and some assembly language. Please consider following code: const unsigned char num_entries = 2; Our startup file con...
i am having trouble with these two lines 0x08048ef2 <phase_3+49>:        cmpl   $0x7,-0x4(%ebp) 0x08048ef6 <phase_3+53>:        ja     0x8048f61 <phase_3+160> i'm not sure what the fi...
I am trying to generate a loop for in PIC18 assembly using the exit condition i > 100. My code is the following: Is this correct?
Hello, I am working on the bomblab and am really struggling with the 6th phase. I understand that it is a linked list and it is looking for the numbers 1-6 in some order. This is the sectio...
I'm currently working for a NGO (non profit organization), which file and process health information of kids around the 3rd world. Currently we have a problem with our in-house developed appli...
Hello, i compiled a little C++ program with Visual Studio 2005 and let the compiler create an assembly output file so i can have a look at the produced assembly code. I found something like...
How can I obtain Ring0 in Windows XP? I want to do low level stuff, (bios int 13). Windows 98 used to allow Ring0 to Dos Based programs, however, XP does not work the same way. -Brian
The question goes like this "The MIPS load-word instruction, lw rt, offset16 (rs), allows specifying a 16-bit offset offset 16 only. Devise a sequence of MIPS instructions, which will be eq...
Hi, How do I check if a number moved to eax is negative?
hi   i m learning MASM programming. can anybody say what is the difference between MOV and xchg. i think they are same.if there is any difference please mention that with an example.
Idea is to acquire lock if available. The following code returns 0 if it acquired successfully else returns 1. It does not change to addr. I need to convert this in gcc assembly. Looking forwa...
PIC Schema: http://www.picbook.com/bookinfo/QwikFlash.pdf PIC Diagram: http://www.picbook.com/bookinfo/PIC18F452%20block%20diagram.pdf Board Schematic: http://www.picbook.com/bookinfo...
I am simply trying to let the user input 2 numbers and then add them together. I have attached the code. Any help would be appreciated.
Just wanted to make sure I'm starting in the right direction with this one. I would start off by replacing the call to smoke() from phase 0 with the address of fizz() correct? Level 1: Spar...
Where can I get Information about the functions contained in the MSVBVM60.DLL ? I mean a COMPLETE DESCRIPTION ON THE PARAMETERS PASSED TO THE FUNCTIONS included in MSVBVM60.DLL
Downloaded DrDOS7.03 files from site - ftp://ftp.fsn.hu/pub/OpenDOS/DR-DOS.703/images/ Copied files disk01.144 and disk02.144 to 3.5in floppies with DISKCOPY command. When I try to copy disk0...
    I'm using GAWK to automate the conversion of lots of assembly language source files written for the Phar386 assembler to they can be recompiled with the GNU assembler.  So far, things are...