Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 367 Bytes

README.md

File metadata and controls

25 lines (13 loc) · 367 Bytes

Set-Zero

CSCI 4720 - Computer Architecture and Organization

Compare two arrays.

If element in Array A is less than element in Array B, display 0. Otherwise, display 1

Translating the following code into MIPS Assembly Language Code:

for(int i = 0; i < A.length; i++) {

if(A[i] < B[i]) { C[i] = 0; }

}

where A, B, and C are arrays of size 10