Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions