* Note: All your programs should contain the
* following header, with all the fields filled in.
* Listing files w/o the header will NOT be graded.
*
* Pay attention to revision history. More details you
* have, the higher the grade will be, EVEN IF YOUR
* PROGRAM DOES NOT WORK.
*
* PROGRAMS THAT DO NOT WORK WITH NO OR INADEQUATE REVISION
* HISTORY WILL NOT BE GRADED
*
*
* The * in column 1 starts comments
**************************************************
* E-MAIL: nsitarsk@umd.umich.edu harris_brandon@yahoo.com
*
* Name:Nick Sitarski  Brandon Harris
* Course:  ECE 372
* Term:Summer 2002
*
* Revision History
*
* First Draft:  5/8/02
*   -Progress:
*
* Most Recent Revision: __/__/__
*    -Progress:
*
* Date Submitted:
* Demonstration Approval: ______
*
* MEMORY MANAGEMENT
*
* Program starts at: $2000
* Data starts at: $3000
* Page 0 usage: Not applicable
*
* NOTE: THIS FILE HAS TWO ERRORS (TYPOS).
**************************************************

****  Equates  ****
SPACE           EQU     $20
OUTA            EQU     $FFB8
OUT1BYT         EQU     $FFBB
OUTCRLF         EQU     $FFC4


*  Preload some information starting at memory address $3000
		ORG	$3000
                FCB     $61
                FCB     $62
                FCB     $63
                FCB     $64
                FCB     $65
                FCB     $66
                FCB     $67
                FCB     $68


*  Preload some information starting at memory address $3010
                ORG     $3010
                FCB     $71
                FCB     $72
                FCB     $73
                FCB     $74
                FCB     $75
                FCB     $76
                FCB     $77
                FCB     $78


* Start Code at address $2000

                ORG     $2000
                LDAA    $3010   *Add comments ....
                EORA    $3000
                STAA    $3020
                LDAA    $3011
                EORA    $3001
                STAA    $3021
*++     Complete the rest locations in the ranges
*++     $3012-$3017, $3002-$3007, $3022-$3027

*  More of the same except use $3020 in the place of $3000
*  and $3030 in the place of $3020 and so on.

                LDAA    $3020
                EORA    $3000
                STAA    $3030
                LDAA    $3021
                EORA    $3001
                STAA    $3031
*++  Complete the rest for the other 6 bytes of data ....

*
  Now display the data in columns:
* original_data encrypted_data decrypted_data

                LDX     #$3010          *Display  data at $3010
                JSR     OUT1BYT

                LDAA    #SPACE          * Display char #space
                JSR     OUTA

                LDX     #$3020          *Display  data at $3020
                JSR     OUT1BYR

                LDAA    #SPACE          * Display char #space
                JSR     OUTA

                LDX     #$3030
                JSR     OUT1BYT
                JSR     OUTCRLF

*++  Complete the rest of the columns for the other data
                SWI                     * Stop


