Question: Write a subroutine called STRLEN that determines the length of a null-terminated ASCII string. Pass the 16-bit start address of the string to the subroutine

Write a subroutine called STRLEN that determines the length of a null-terminated ASCII string. Pass the 16-bit start address of the string to the subroutine in register BX. Return the length, excluding the null byte, in register CX. All registers (except CX) should return to the calling program unchanged

This should be written in Intel 8086 Assembly. Post the code in text here! Thanks

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!