Question: Using the sheet, no 1 , run step by step the next program until the End program label. 0 1 2 3 4 5 6
Using the sheet, no run step by step the next program until the End program label.
A B C D E F
Tablex B D EF B D E AF EF B
TablexD F A F D A B D EF
TablexB D F D E AF EF D A C A
Tablex
Tablex
R R R R R R R R R R
; Assembly Program for Tiva C Series TMCGHPM
; This program compared numbers from the Table
; Roman Lopez Ph D
; Assembly Code in txt section
global main
text
main:
ADR RTable ;Set RAddress Table
ADR RTable ;Set RAddress Table
ADR RTable ;Set RAddress Table
ADR RTable ;Set Address Table
MOV R#
Loop:
LDRB RR#
LDRB RR
CMPS RR
BLT ALFA
BEQ ALFA
BGT ALFA
B main
ALFA: LSRB R#
STRB RR#
B ALFA
ALFA: RORB R #
STRB RR#
B ALFA
ALFA: SUBS R#
STRB RR#
ALFA: SUBS R#
BNE Loop
; END PROGRAM
STOP: B STOP
NOP
NOP
What is the final value of the registers?
What is the final value of the table
What is the final value of the table?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
