UMBC CMSC 211

CSEE | 211 | Current | lectures | news | help


Project 5

Requirements Specfication

Get the name of the file at runtime (either prompt the user or get it from the command line). Open the file and read in the first 512 bytes of the file (or the entire file if it is less than 512 bytes long).

The add up the values of each of the bytes in the file, ignoring all overflows. The result (called a checksum) is to be display on the screen.

Program Header Comment Block

Use the following comment block at the beginning of your source code:
;; Filename:       first.asm
;; Name:           Ima Student  (This is your name.  Without it, you don't
;;                               get a grade.)
;; SSAN:           6789  
;; Date:           3 October 2000
;; Course:         CMSC-211 
;; Description:    (Your psuedocode goes here)
;; Notes:          (As needed, such has how to assembly)


CSEE | 211 | Current | lectures | news | help