Please provide the full RUNNABLE .asm file (using Intel x86 ). Please provide th
ID: 3804067 • Letter: P
Question
Please provide the full RUNNABLE .asm file (using Intel x86).
Please provide the header and comments:
Note: Submit your source code by only uploading .ASM file using iCollege in the respective assignment dropbox: o Lastname 1.ASM (Ex. mussa 1.ASM), Lastname2.ASM (Ex. mussa2.ASM), Lastname3.ASM (Ex. mussa3 ASM), Lastname4.ASM (Ex. mussa4 ASM) Comment header for ASM files Student: Awad Mussa Class: CSC3210 Assignment 4 Description: This program Follow the program standards as presented in your book. Pay more attention to code comments and consistent indentation.Explanation / Answer
TITLE "reverse the array"
.686
.model flat,stdcal
.stack
INCLUDE irvine32.inc
.DATA
array dword 1,2,3,4,5,6,7,8,9,10,11,12
.CODE
main PROC
mov ecx,2
mov esi,3
mov edx,0
L1:
mov eax,array[esi+type array]
xchg eax,array[edi]
mov array[esi+lengthof array],eax
mov edi, type array
mov esi,2
Loop L1
call dumpergs
;check
mov eax,array
mov ebx,array[4]
mov ecx,array[8]
mov edx,array[12]
call dumpergs
exit
main ENDP
END main
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.