Motorola hc11 programming help

Status
Not open for further replies.
I need somebody to help me with assembly language programming of HC11, I have figured a bit out obviously, but since i dont have a board right now with me, I need someone to help me, i have to get out put as : C
A
N
A
D
A
while taking, Canada as input...
 
so your program need to convert any lowercase character to upper case.
you can find ready functions for this or easily write your own:
1. lookup ascii codes (tables are everywhere on internet)
2. note values for letters in a-z range
3. note values for letters in A-Z range
4. do you see the difference? it is fixed offset...

this means you can do something like
Code:
for each character
   if (character is in range 'a-z') then
      character = character - offset
   endif
print character
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…