; Example to demonstrate Arrays
; CountOdd
; Given an array of numbers stored
; starting at location Arr
; Arr can vary
; with the last element being a sentinel: 0 (a special value that does not
; a value that one of the normal elements takes).
; We want
; Example to demonstrate Arrays
; CountOdd
; Given an array of N numbers stored
; N can vary
; at locations Arr to Arr+(N-1)
; Arr can vary
; We want to find how many of the numbers are odd
; Write the result to loction Arr+N
.ORIG x3000
AND R7,R7,#0