Question: these two questions go together! irvine.32 masm please! Write a macro, StringTolnteger, which will place in the ax register the integer value of the UNSIGNED

these two questions go together! irvine.32 masm please!

Write a macro, StringTolnteger, which will place in the ax register the integer value of the UNSIGNED integer whose digits are contained in a zero-terminated string. Suppose the address of the string is stored in the si register, and that si points to the first digit of the string. Suppose that in the main procedure, we have the data areas: X BYTE ' 347 ', 0 Y BYTE ' 54 ', 0 TheProduct WORD ? By using calls to your StringTolnteger macro from the previous question, write a code fragment that will result in product of X and Y being placed in the variable TheProduct
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
