Question: Hi, I need help with this assembly language question in 32 bit, please. Please follow the direction of the pseudocode in basic ways and use

Hi, I need help with this assembly language question in 32 bit, please. Please follow the direction of the pseudocode in basic ways and use my data as it is.

Hi, I need help with this assembly language question in 32 bit,

Enter first hex digit: 1 Enter second hex digit: A Hex sum=B Note: the output from calling Writetex will print the answer as "00000000". Discussion: To read a hex digit from the keyboard we will use the author's routine, ReadHex. This routine is written to read in a hex number but we will use it to just read in a single hex digit. Input hexDigi call ReadHex mav hexigi, AL To write a hex digit to the screen we will use the author's routine, WriteHex. This routine is written to write a hex number but we will use it to just write a single hex digit. ; Print hexSum movzx EAX, bexSum call Writelex Solve the problem with pseudocode first. You can think of this problem as printing the sum of two numbers but the numbers are a single digit. Use the following definitions. .data hex Imag BYTE "Enter first hex digit: ", O hex2M29 BYTE "Enter second hex digit: ", O hexSumMsg BYTE "Eex sum = ", O hexDigi BYTE 2 hexDig2 BYTE ? hex Sum BYTE ? Enter first hex digit: 1 Enter second hex digit: A Hex sum=B Note: the output from calling Writetex will print the answer as "00000000". Discussion: To read a hex digit from the keyboard we will use the author's routine, ReadHex. This routine is written to read in a hex number but we will use it to just read in a single hex digit. Input hexDigi call ReadHex mav hexigi, AL To write a hex digit to the screen we will use the author's routine, WriteHex. This routine is written to write a hex number but we will use it to just write a single hex digit. ; Print hexSum movzx EAX, bexSum call Writelex Solve the problem with pseudocode first. You can think of this problem as printing the sum of two numbers but the numbers are a single digit. Use the following definitions. .data hex Imag BYTE "Enter first hex digit: ", O hex2M29 BYTE "Enter second hex digit: ", O hexSumMsg BYTE "Eex sum = ", O hexDigi BYTE 2 hexDig2 BYTE ? hex Sum BYTE

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!