37,384 views
19 votes
19 votes
Which of the following CALL instructions writes the contents of EAX to standard output as a signed decimal integer?

a. call WriteInteger
b. call WriteDec
c. call WriteHex
d. call WriteInt

User Taymon
by
3.0k points

1 Answer

15 votes
15 votes

Answer:

d. call WriteInt

Step-by-step explanation:

Required

Instruction to write to decimal integer

Of the 4 instructions, the call WriteInt instruction is used write to a decimal integer.

This is so, because the WriteInt instruction writes a signed decimal integer to standard output.

This implies that the output will have a sign (positive or negative) and the output will start from a digit other than 0 (i.e. no leading zero)

User Bart Van Nierop
by
2.9k points