CIS 351

Assembly Loops

Fall 2021

  1. Write an assembly function sumArray(int[] array, int num_items) that returns the sum of all the items in array.
  2. Write an assembly function cotains(int item, int[] array, int num_items) that returns true if array contains item.
  3. Write an assembly funciton upcase(byte[] string) that converts all the lower-case elements in string to upper-case. Assume that the string is null-terminated. Below are some helpful ASCII values:
    A65
    z90
    a97
    z122

Updated Monday, 11 October 2021, 3:39 PM

W3c Validation