Question: Write a general assembly program to count the number of ls in the given HEX number stored in memory location WRD. What will the counter

 Write a general assembly program to count the number of ls

Write a general assembly program to count the number of ls in the given HEX number stored in memory location WRD. What will the counter CTR have when the program stops? For example, if WRD has (1234)16. CTR will have (0005)16. Use minimum number of only the following instructions: ORG, CLE, CLA, STA, LDA, SZA, BUN, CIL, SZE, ISZ, SZA, HLT

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!