Question

A program hello.c is compiled and linked on a 32-bit address machine. An “objdump” performed on...

  1. A program hello.c is compiled and linked on a 32-bit address machine. An “objdump” performed on the executable “hello” file would most likely reveal that the <main> section od the code resides in a virtual address space between:
    1. 0x08040000 and 0x08048000
    2. 0x080483b4 and 0x080483cf
    3. Is based on the stack pointer
    4. Can’t be determined
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer: 0x08040000 and 0x08048000

Explanation:

The actual executable address starts at 0x08040000, hence the answer.

PLEASE COMMENT if there is any concern.

==============================

Add a comment
Know the answer?
Add Answer to:
A program hello.c is compiled and linked on a 32-bit address machine. An “objdump” performed on...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 9. Java coder Courtney is writing a program that derives a list of unique words contained...

    9. Java coder Courtney is writing a program that derives a list of unique words contained in a given text file: the word values themselves, and a total count for the file. What Collection type would be best suited for the job? Check only one) O (a) BinarySearch (b) List □ (c) Map (d) Set D (e) Queue 10.Software-Engineer Ellie is designing a similar program to Courtney. She needs to track a count for each unique word contained in a...

  • Problem #1 (25 points) Address Space, Memory Consider a hypothetical 18-bit processor called HYP18 with all...

    Problem #1 (25 points) Address Space, Memory Consider a hypothetical 18-bit processor called HYP18 with all registers, including PC and SP, being 18 bits long. The smallest addressable unit in memory is an 8-bit byte. A. (4 points) What is the size of HYP18's address space in bytes and KB? How many address lines does HYP18 require? Address space: Bytes Address space: KB (KiloBytes). Address bus lines: B. (6 points) Assume that first quarter of the address space is dedicated...

  • Write a program that turns a 32-bit numeric value (e.g., 0xFFFFh) and converts it to a...

    Write a program that turns a 32-bit numeric value (e.g., 0xFFFFh) and converts it to a byte array such that it can be printed to the screen using a system call method. A loop is necessary for converting the numeric value to ASCII for output. Again, use a system call (e.g., int 80h) to print the value to the console. Calling external functions (e.g. printf) is not allowed. You may use the starter file attached to this assignment. PLEASE WRITE...

  • tha 32 bit virtual address is divided into fields as follows: 5. Challenge: For the following...

    tha 32 bit virtual address is divided into fields as follows: 5. Challenge: For the following set of questions, we'll use the threads example you all executed as part of the home 11 12 13 Hinclude <stdio.h> #include "thread.h" 14 15 static void go(int n); 19 #define NTHREADS 15 static thread_t threads [NTHREADS] ; int main(int arge, char **argv) { int i; long exitValue; for (i = 0; i < NTHREADS; itt) thread_create(&(threads[i]), ego, i); 23 for (i = 0;...

  • Subtracting three integers. Using the ADDSUB program from the section 3.2 (shown below) as a reference,...

    Subtracting three integers. Using the ADDSUB program from the section 3.2 (shown below) as a reference, write a program that subtracts three integers only 16-bit registers. Insert a cal DumpRegs statement to display the register values This program must be done using Visual studio. Please submit .asm file or copy/paste your program here. Please note that you will have two extra days of grace period for all homeworks, including midterm and final exam projects. ; AddTwo.asm - adds two 32-bit...

  • For the code above, after the two object files above are linked together with the command...

    For the code above, after the two object files above are linked together with the command line ld -o p main.o weight_sum.o, the sizes of .text and .data sections are list as below. Assume the object files are combined similar to the order shown in the lecture slides and the starting address of the unified executable object file starts at 0x08af3ef4. What is the relocated address of array[0]? File +Section    Size(Byte)    main.o's .text 24 main.o's .data 8 weight_sum.o's...

  • Need to write a MIPS assembly program that finds the minimum and maximum and sum of...

    Need to write a MIPS assembly program that finds the minimum and maximum and sum of a stored array. It also finds the locations of the minimum and maximum. The interaction between the main program and the function is solely through the stack. The function stores $ra immediately after being called and restores $ra before returning to main. The main program reserves a static C like array (index starts from 0) of 10 elements and initializes it. The maximum should...

  • LC-3 Programming Help!! The Stack Protocol The following outline is the protocol for passing arguments to...

    LC-3 Programming Help!! The Stack Protocol The following outline is the protocol for passing arguments to a function and returning values. Everything is stored on the runtime stack so that space is used only when the function is executing. As a result the actual address of arguments and locals may change from call to call. However, the layout of the stack frame (activation record) is constant. Thus, the offests from the frame pointer (FP) to the parameters/locals are constant. All...

  • Using the Windows Starter Visual Studio project create the following five programs. 1. Write a p...

    Using the Windows Starter Visual Studio project create the following five programs. 1. Write a program that will store address information in unique values and then display the full address in a window at runtime (10pts). Example: Sam Coder 1 Main Street Kansas City, MO 64018 2. Write a program that will swap the City and State fields and then display the full address in a window at runtime (10pts). Example: Sam Coder 1 Main Street MO, Kansas City 64018...

  • Note: The question needs to be answered in "C Programming Languange ". And after the question fin...

    Note: The question needs to be answered in "C Programming Languange ". And after the question find 3 pages for needed informations. Spring CE4717 Language Processors Q1. Consider the following LEx program. return R1 return R2 return R3 return R4 return R5; return R6; IA-2a-z)[A-Za-z0-9]- -2 10-91+ 10-9a-EA-FI Ihi] [01] [01] 이삐 t Vtin) int main (void) int tcode; do f tcode -yylex()i printf ("token type td \"%s\"\n", tcode, yytext); ) while (tcode)i return 0; i. Explain the steps needed...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT