;
; hw12-probA.bin - example LC-3 machine code for ECE199JL Fall 2012 HW#12
;
; "Copyright (c) 2012 by Steven S. Lumetta."
;
; Permission to use, copy, modify, and distribute this software and its
; documentation for any purpose, without fee, and without written agreement is
; hereby granted, provided that the above copyright notice and the following
; two paragraphs appear in all copies of this software.
; 
; IN NO EVENT SHALL THE AUTHOR OR THE UNIVERSITY OF ILLINOIS BE LIABLE TO 
; ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL 
; DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, 
; EVEN IF THE AUTHOR AND/OR THE UNIVERSITY OF ILLINOIS HAS BEEN ADVISED 
; OF THE POSSIBILITY OF SUCH DAMAGE.
; 
; THE AUTHOR AND THE UNIVERSITY OF ILLINOIS SPECIFICALLY DISCLAIM ANY 
; WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 
; MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE 
; PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND NEITHER THE AUTHOR NOR
; THE UNIVERSITY OF ILLINOIS HAS ANY OBLIGATION TO PROVIDE MAINTENANCE, 
; SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS."
;
; Author:	    Steve Lumetta
; Version:	    1
; Creation Date:    5 November 2012
; Filename:	    hw12-probA.bin
; History:
;	SL	1	5 November 2012
;		First written.
;

;
; This program prints a secret message to the monitor.  Convert it to
; an object file using lc3convert, then execute it with the lc3sim 
; simulator to see the secret message.  Or, if you really enjoy such
; things, simply translate the bits below--they're in ASCII.
;

0011 0000 0000 0000 ; start program at x3000

1110 000 000000010  ; R0 <- x3003
1111 0000 00100010  ; PUTS trap
1111 0000 00100101  ; HALT trap

00000000 01010100   ; a secret message (in ASCII)...
00000000 01101000
00000000 01100101
00000000 00100000
00000000 01110111
00000000 01101111
00000000 01110010
00000000 01100100
00000000 00100000
00000000 01101111
00000000 01100110
00000000 00100000
00000000 01110100
00000000 01101000
00000000 01100101
00000000 00100000
00000000 01100100
00000000 01100001
00000000 01111001
00000000 00100000
00000000 01101001
00000000 01110011
00000000 00100000
00000000 00100010
00000000 01101101
00000000 01101111
00000000 01110101
00000000 01101110
00000000 01110100
00000000 01100001
00000000 01101001
00000000 01101110
00000000 01110011
00000000 00101110
00000000 00100010
00000000 00001010
00000000 00000000
