Question: ASSEMBLY LANGUAGE FOR X86 (MASM) Please use modify the code below, it is just a loop of 10 years Use Butcher's algorithm to calculate Easter
ASSEMBLY LANGUAGE FOR X86 (MASM) Please use modify the code below, it is just a loop of 10 years
Use Butcher's algorithm to calculate Easter for the next ten years in x86 assembly language. Use the code below to start TITLE MASM Template (main.asm) ; Description: ; ; Revision date: INCLUDE Irvine32.inc COMMA=2ch .data march BYTE "March ",0 april BYTE "April ",0 y DWORD 2017 a dWORD ? b DWORD ? cc DWORD ? .code main PROC call Clrscr mov ecx, 10 NEXT: mov eax, y call WriteDec call crlf inc eax mov y, eax dec ecx jnz NEXT
mov edx,offset march call WriteString
mov al, COMMA call WriteChar call CRLF
exit main ENDP END main
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
