Question: I need help making this 32-bit Assembly program work in 64-bit. INCLUDE Irvine32.inc WriteString PROTO .data source BYTE This is the source string,0 target BYTE

I need help making this 32-bit Assembly program work in 64-bit.

INCLUDE Irvine32.inc WriteString PROTO

.data source BYTE "This is the source string",0 target BYTE SIZEOF source DUP('#')

.code main PROC mov esi,0 mov edi,LENGTHOF source - 2 mov ecx,SIZEOF source L1: mov al,source[esi] mov target[edi],al inc esi dec edi loop L1 mov edx, OFFSET target call WriteString

exit main ENDP END main

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!