Question

.MODEL FLAT INCLUDE io.h i header file for input/output STACK 4096 .DATA word1 word 1234 result byte 6 dup(?), e .CODE MainPr
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer :-

the next 6 bytes :-
52

51

50

49

32

32

Explanation :-

wtoa result, word1 :- actually wtoa converts the 2's complement word number into 6 byte long ASCII converted value of the 2's complement source number and store it in the destination in string fomat

So,

1234 2's complement is 1234

ASCII value of 1234 = 049 050 051 052 (which is of 4 bytes)

In order to convert 4 byte string into 6 byte long by adding leading spaces whose ASCII value is 32.

So, result value :-

032 032 049 050 051 052

Add a comment
Know the answer?
Add Answer to:
.MODEL FLAT INCLUDE io.h i header file for input/output STACK 4096 .DATA word1 word 1234 result byte 6 dup(?), e .C...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Using the Windows Starter Visual Studio project create the following five programs. 1. Write a p...

    Using the Windows Starter Visual Studio project create the following five programs. 1. Write a program that will store address information in unique values and then display the full address in a window at runtime (10pts). Example: Sam Coder 1 Main Street Kansas City, MO 64018 2. Write a program that will swap the City and State fields and then display the full address in a window at runtime (10pts). Example: Sam Coder 1 Main Street MO, Kansas City 64018...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT