starb3nderx
starb3nderx starb3nderx
  • 13-10-2022
  • Computers and Technology
contestada

Translate the following C program to Pep/9 assembly language.

#include
char toLower(char ch) {
if ((ch >= ’A’) && (ch <= ’Z’)) {
return ch + ’a’ - ’A’;
}
else {
return ch;
}
}
int main () {
char myChar;
scanf(”%c”, &myChar);
printf(”%c\n”, toLower(myChar));
return 0;
}

Respuesta :

Otras preguntas

The perimeter of a parallelogram is 46in. If the length of one side is 14in., what is the length of a side adjacent to it?
If, 2=5 3=10 4=17 5=??
Find the error Jacob is finding the slope of the line that passes through x(0,2) and y(4,3).circle his mistake and correct it.
What is Neons group and periodic number?
If, 2=5 3=10 4=17 5=??
The perimeter of a parallelogram is 46in. If the length of one side is 14in., what is the length of a side adjacent to it?
Find the error Jacob is finding the slope of the line that passes through x(0,2) and y(4,3).circle his mistake and correct it.
round this number 3.899 to the nearest hundredth
Find the error Jacob is finding the slope of the line that passes through x(0,2) and y(4,3).circle his mistake and correct it.
If, 2=5 3=10 4=17 5=??