Question: assuming an 8 0 8 8 / 8 6 based system Write a complete assembly program with functions as described below: 1 ) an assembly

assuming an 8088/86 based system
Write a complete assembly program with functions as described below:
1)an assembly macro to copy src to dst by using indirect addressing:
void my_strcpy(char *src, char *dst).
2)an assembly macro to compare two strings, use the following prototype:
short my_strcmp (char *str1, char *str 2);it should return -1,0,1 if str1< str2, str2== str2, str1>str2, respectively
3)a main procedure that tests the two macros and prints the results on screen

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!