Homework Assignment 5 -- CS429 Fall 2013

Due Date: 2 Oct 2013

  1. Which of the following is not part of a C toolchain
    1. C compiler
    2. linker
    3. text editor
    4. e-mail reader
    5. spreadsheet
    6. gdb

  2. Where can the return address for a subroutine jump be stored?
    1. in memory
    2. on a stack
    3. in a link register
    4. in an index register
    5. on the disk

  3. Write out, in at least some approximation of assembly language, the assembly language equivalent of
    for (i = 0; i < n; i++) array[i] = 0;