Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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.

Latest threads

New Articles From Microcontroller Tips

Back
Top