Question: Write a Pep / 9 assembly language program that prints your first name on the screen. Use the.ASCII pseudo - op to store the characters

Write a Pep/9 assembly language program that prints your first name on the screen. Use
the.ASCII pseudo-op to store the characters at the bottom of your program. Use the LDBA
instruction with direct addressing to output the characters from the string. The name your
program prints must contain more than two letters.
Section 5.2(2 points)
21. Write a Pep/9 assembly language program that prints your first name on the screen. Use
immediate addressing with a character constant (a single character value) to designate the
operand of LDBA for each letter of your name. For example, the character constant for a lower
case B is specified as 'b'. The name your program prints must contain more than two letters.
Section 5.4(4 points each)
24. Write a Pep/9 assembly language program that corresponds to the following C program:
int num1;
int num2;
int main (){
scanf("%d %d", &num1, &num2);
printf("%d
%d
", num2, num1);
return 0;
}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!