Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help doing the flowchart for this 68k program, a flowchart of the writting description shown above. The flowchart doesn't need a box for

image text in transcribed

image text in transcribed

I need help doing the flowchart for this 68k program, a flowchart of the writting description shown above. The flowchart doesn't need a box for every operation. It just needs to mix sense. Please someone?? I will be more than thankful

ORG $400 QUEST1 DC.B ENTER M MQUEST1 EQU 9 QUEST2 DC.B ENTER N MQUEST2 EQU 9 "Y (M,N) ANSWR DC.B MANN SWR EQU 9 G DC. THE END MTERMMSG EQU 7 LF EQU $0A CR EQU $0D ORG $1000 LOOP MOVE. L #1, DO SET TRAP FOR QUEST1 MOVEA.L tQUEST1,A1 MOVE.L FMQUEST1, D1 TRAP #15 MOVE L #4, DO READ FROM CONSOLE TRAP #15 MOVE. D1, D4 CMP. L #0, D4 BEQ LAST IF M IS ZERO RUN TERMPROG MOVE. #1, DO SET TRAP FOR QUEST2 MOVEA.L tQUEST2,A1 MOVE. tMQUEST2, D1 TRAP #15 MOVE L #4, DO READ FROM CONSOLE TRAP #15 MOVE.L D1, D5 BSR CALC BRANCH TO CALCULATE AND STORE ANSWER MOVE .L +1,DO SET TRAP TO DISPLAY ANSWER STRING MOVEA.LEANSWR, A1 MOVE. #MANN SWR,D1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

9. Describe the characteristics of power.

Answered: 1 week ago

Question

What is the relation of physical mathematics with examples?

Answered: 1 week ago

Question

What are oxidation and reduction reactions? Explain with examples

Answered: 1 week ago