We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,394 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

LC-3

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)
1
Contributor
0
Replies
1
View
goyofoyo
Newbie Poster
21 posts since Nov 2008
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0528 seconds using 2.66MB