CSE 30: Homework 5

    (Deadline: Wednesday, 19th May, 1999, 11:59pm)

    Note:
        a. Please put your name on top of your submission from this assignment onwards.
        b. There is only one problem to be submitted.

    1.  Exercise 7.5 from the textbook.

      Write a function, max, with eight integer arguments. Max is to return the maximum of the eight arguments. Write a main function to call max with eight arguments.

      You should run it under gdb and put in break point labels at the beginning of the called routine, where you should print out the 8 arguments passed to that routine, and after the return from the call to the routine where you should print out the returned answer.

      Please use 2,4,3,5,0,8,7,6 as your input data. In addition, you do not have to make the routine run with command line arguments from UNIX. You  should set the input using mov statements at the beginning of the program.