Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

EE 4178 Fall 2004: Counting Positive & Negative Numbers in 16-bit Integer Array, Assignments of Electrical and Electronics Engineering

Instructions for an assignment in the ee 4178 fall 2004 course. Students are required to write a single-loop program using sdk-86 to determine the number of non-zero positive and negative values in a signed 16-bit integer array called intary. The program output should be handed in as an assembler listing and written testing results, along with a demonstration to the ta.

Typology: Assignments

Pre 2010

Uploaded on 08/19/2009

koofers-user-x9i-1
koofers-user-x9i-1 🇺🇸

4.5

(4)

10 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
EE 4178 Fall 2004
Assignment #2
Assume that INTARY is a word array storing 10 signed 16-bit integers. Write a single-
loop program that will determine the number of nonzero positive values and the number
of nonzero negative values in INTARY, and store these two counts in POS and NEG
respectively.
Use SDK-86 to test your program. Turn in the assembler listing and written testing
results, and demonstrate your program to the TA.

Partial preview of the text

Download EE 4178 Fall 2004: Counting Positive & Negative Numbers in 16-bit Integer Array and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

EE 4178 Fall 2004

Assignment # Assume that INTARY is a word array storing 10 signed 16-bit integers. Write a single- loop program that will determine the number of nonzero positive values and the number of nonzero negative values in INTARY, and store these two counts in POS and NEG respectively. Use SDK-86 to test your program. Turn in the assembler listing and written testing results, and demonstrate your program to the TA.