Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 18 Not yet answered Marked out of 31.00 Flag question .BEGIN IN TERM LOAD TERM COMPARE ONE JUMPEQ FIRST COMPARE TWO JUMPER SECOND START:
Question 18 Not yet answered Marked out of 31.00 Flag question .BEGIN IN TERM LOAD TERM COMPARE ONE JUMPEQ FIRST COMPARE TWO JUMPER SECOND START: LOAD PREV ADD CURR STORE NEXT LOAD CURR STORE PREV LOAD NEXT STORE CURR DECREMENT TERM LOAD TERM COMPARE TWO JUMPEQ STOP JUMP START STOP: OUT NEXT JUMP FINISH FIRST: OUT PREV JUMP FINISH SECOND: OUT CURR JUMP FINISH FINISH: HALT PREV: .DATA 1 CURR: .DATA 1 NEXT: .DATA 0 0 ONE: .DATA 1 TWO: .DATA 2 TERM: .DATA 0 .END Desk check the above assembly program using 5 as the input Show the values of all the labelled data locations, the value of the R register, and any output using the table below. If a value changes, enter the value in the next cell on the same row. In other words don't enter the value if the value stays the same. R: ? PREV: 1 CURR: 1 NEXT: 0 ONE: 1 2 TWO: Output: At the HALT instruction in the program above, what are the values of condition codes GT, LT, and EQ? Answer using the table below. GT: LT: E
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started