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 starting phase 2 but I'm a little confused on what I need to do for it. Do I need to write my own assembly code for this or merely reference some code in the program thats already written?...
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...
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
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...
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 am trying to generate a loop for in PIC18 assembly using the exit condition i > 100. My code is the following:
Is this correct?
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...
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...
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 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...
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 ...
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 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...
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...
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 ...
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...
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...
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...