UMBC CMSC 211

CSEE | 211 | Current | lectures | news | help


Project 2

Requirements Specfication

This project shall accept input from the STDIN (using the macro _GetStr until the EOF (end of file) is reached. All incoming characters are to be counted, by character and the results will be printed out. You do not know how many lines there are and you must keep the counts in an array. (Assume that the counts will not exceed 65535 for each character.) When printing the results, print the character and the time of times that the character was present, if the count is not zero. If the character is a non-printable character, then print out the decimal value of that character.

Example Output

CharacterCount
1053
1353
,11
a47
b 9
f14
h 4
i87
A44
C 9
D13
E93
N75
T53

Program Header Comment Block

Use the following comment block at the beginning of your source code:
;; Filename:       first.asm
;; Name:           Ima Student
;; SSAN:           6789  
;; Date:           3 October 2000
;; Course:         CMSC-211 
;; Description:    (Your psuedocode goes here)
;; Notes:          (As needed, such has how to compile)


CSEE | 211 | Current | lectures | news | help