Answered step by step
Verified Expert Solution
Question
1 Approved Answer
(Passing argument using registers and using a for-loop) Write a subroutine to compare two equal sized character strings. The number of characters in the string
(Passing argument using registers and using a for-loop) Write a subroutine to
compare two equal sized character strings. The number of characters in the string is in
register B. The starting address of one string is in register X. The starting address of the
other string is in register Y. If the strings are equal, the subroutine returns a $22 in
register B. Otherwise, the subroutine returns a $33 in register B.
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