Visit Experts Exchange from your mobile device to search, ask, and monitor your questions. Never lose touch again.

Preview From Your Desktop
 

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

 
Top Assembly Solutions: 1 - 25 of 33
 
Hello! I am working on the second phase of the binary bomb/bomblab project, and I am a bit stuck. Basically, we have to input 6 integers to keep the bomb from exploding - however they must b...
I'm trying to finish a program that prompts the user for an integer and outputs the number in hex format.  Yes...this is for an assignment, but I'm looking for some suggestions on which lines ...
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...
Why does memory access take more machine cycles than register access? Assembly Language for Intel-Based Computers.
I'm trying to get the value of the register of eax at the address  0x8048dc0. The assembler dump is below. Basically it reads 6 numbers and compares them to value of eax and the above memory l...
I'm working on phase three of the bomb and I think I have a general idea on what kind of input I need was wondering if someone could verify. It looks like I need to pass two inputs and the ...
The MIPS hardware does not support a NOT instruction to perform Logical inversion. (ones complimenting) How can i achieve a NOT operation in MIPS
I can't seem to figure out what register my call readstring is going into. Can someone assist me real fast please. I get a symbol for some reason like I called readchar or something. Here i...
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 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...
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...
Hi, I have a mini dump and am trying to find out whats causing my BSOD When i press 'u' i get unassembed code, if i press 'u' again the output changes and so on and so on Can someone tell m...
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?
Hey,        I need some help with translating C code to mips assembly. A few things I'm unsure about the mips code I wrote are: Not exactly sure how to test or use arguments. True ...
Some computers have explicit instructions to extract an arbitrary field from a 32- bit register and to place it in the least significant bits of a register. Find the shortest sequence of ...
I tried several times but couldn't get it, perhaps i missed some point in the loop or keeping track of the stack, here is my disassembled code of phase_2. I don't think i understood clearly ho...
write an assembly program to display the machine code that corresponds to a given i86 assembly language instruction. 1. the program should translate i86's AND & ADD assembly language instru...
want to get some know how with Assembly language. am reading The Art of Assembly Language, can i run MSAM or any other Assembler on VISTA? or can i use Virtaul PC in VISTA to run Assemb...
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'm trying to get the Get_ldtr_base to work. I've copied the code from a C++ sample: unsigned long get_idt_base (void) {      unsigned char     idtr[6];      unsigned long     idt     = 0;      _asm sidt id...
I have the following scenario: I have an input byte (IN) with the value 0-255 in it and I want to calculate a 2-byte output word (OUT) from it which should grow in an exponential way.  So IN=0...
I'm learning some assembly language from a book written for the ol' 16-bit 8086. However, I'm on an AMD64 (Turion X2). My question is: does this matter? Will this 16-bit code run on my 64-bit...
I read most of the explanation  that infinity08 gave to others and it helped me a lot to figure out the previous phases. thanks  a lot for your effort and willingness. Now I'm trying to figur...
Starting this Buffer Overflow assignment and I'm not really sure how to proceed. Figure I could just use a kick in the right direction. Here is what I've been given: Also I tried stepping t...
Here I am attaching sample code to understand the mfence. What is the best place mfence should be put in asm code. I went thru to Intel docs but it was not enough clear for me. Can anyone expl...