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 based system
Write a complete assembly program with functions as described below:
an assembly macro to copy src to dst by using indirect addressing:
void mystrcpychar src char dst
an assembly macro to compare two strings, use the following prototype:
short mystrcmp char str char str ;it should return if str str str str strstr respectively
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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
