Question: Write a program that reverses the order of the characters of BIM 3 0 3 MICROCOMPUTERS. 1 - Write BIM 3 0 3 - MICROCOMPUTERS
Write a program that reverses the order of the characters of BIM
MICROCOMPUTERS.
Write BIMMICROCOMPUTERS into memory DS:h
DS:h
Read the characters from memory and write the reversed form
into the memory location DS:hDS:h
It is mandatory to use stack operations. You may use the LOOP
command to handle repeating operations for each list element.
Example:
Before Execution
The original list
h B
h I
h M
h
h
h
h
h M
h I
h C
Ah R
Bh O
Ch C
Dh O
Eh M
Fh P
h U
h T
h E
h R
h S
After Execution
final list
h S
h R
h E
h T
h U
h P
h M
h O
h C
h O
Ah R
Bh C
Ch I
Dh M
Eh
Fh
h
h
h M
h I
h B
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
