goyofoyo 0 Newbie Poster

Hey I was wondering if anyone was familiar with the LC-3 language and would be wiling to help with a question I have, I am lost with it and any help would be appreciated I had found a similar problem in my book but it is still different to this one

(Write a program that contains a subroutine to change the case of an ASCII
character in R0, i.e. lower-case letters are changed to upper-case, upper-case letters are changed to lower-case, and non-letter characters are unchanged. The program should use the subroutine to echo the characters typed by the user, but in the opposite case.)

this is the question that is similar to the one I need to complete and that i have completed
( Write an LC-3 machine language routine that echoes the last character typed at the keyboard. if the user types an R the program then immediately outputs and R on the screen.

   x3100 1111 0000 00100011 (in)
   x3101 1111 0000 00100001 (out)
   x3102 0000 1111 11111101  (BRnzp x3100)
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.