You may work in groups on this if you like.
Your task is to write an LC3 assembly language program
(with excellent comments explaining how it works) that will
allow the user to enter a single digit key and then enter
text (terminated by pressing the 'enter' key i.e. cr) Your
program should output the enciphered
text enciphered by a Caesar cipher with the entered key.
Understanding the character counting example in P&P should
help. It is initially presented in section 5.5, treated
again in section 6.1.4, and solved using assembly language
in section 7.2. Also, understanding the readch* programs
discussed in lab on 8 October should help.
Email me your well annotated assembly language file before
seminar on Wednesday or print it and tell me its name and where
it is
in your CS system directory with the assumption that you are
giving me permission to copy and run that file.
If you can't get your program to run, give me the best you
can do. Also, supply a prose explanation of what you think
should be a valid LC3-like program to solve the problem.