Problem 53
Exercises 21-60 are programs or shortanswer questions. Write the Pep/9 assembly-language statement for the following instructions: a. Branch to location Branch 1 if the accumulator is zero. b. Branch to location Branch 1 if the accumulator is negative. c. Branch to location Branch 1 if the accumulator is negative and to Branch2 if the accumulator is not negative.
Problem 54
Exercises 21-60 are programs or shortanswer questions. Write a pseudocode algorithm to read in a name and write a "Good morning" message.
Problem 55
Exercises 21-60 are programs or shortanswer questions. Write a pseudocode algorithm to get three integers from the user and print them in numeric order.
Problem 58
Exercises 21-60 are programs or shortanswer questions. Distinguish between pseudocode and pseudo-operations.
Problem 59
Exercises 21-60 are programs or shortanswer questions. What are the constructs that pseudocode must be able to express?
Problem 60
Exercises 21-60 are programs or shortanswer questions. Distinguish between the looping construct and the selection construct.