

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Web code: ECE 267, Fall 2006 Semester HW5 โ due Friday, Oct. 6, 2006. Last name:
First name:
a. Write one assembly language instruction, involving a Boolean operation, that may be used to convert the ASCII code of a numeric character (โ0โ through โ9โ) to the unsigned code for that value in register AL:
b. Write one assembly language instruction, involving a Boolean operation, that may be used to convert the unsigned code for values 0 โ 9 in register AL to the ASCII code for the corresponding numeric character (โ0โ through โ9โ):
c. Write one assembly language instruction, involving a Boolean operation, that may be used to capitalize the ASCII code for a lowercase alphabetic character (โaโ through โzโ) in register AL:
d. Write one assembly language instruction, involving a Boolean operation, that may be used to make lowercase the ASCII code for an uppercase alphabetic character (โAโ through โZโ) in register AL:
Grading stamp
a. Convert the ASCII code of a numeric character (โ0โ through โ9โ) to the unsigned code for that value in register AL:
b. Convert the unsigned code for values 0 โ 9 in register AL to the ASCII code for the corresponding numeric character (โ0โ through โ9โ):
c. Capitalize the ASCII code for a lowercase alphabetic character (โaโ through โzโ) in register AL:
d. Make lowercasethe ASCII code for an uppercase alphabetic character (โAโ through โZโ) in register AL: