Answered You can hire a professional tutor to get the answer.
Dear Tutor, This is assembly program. I need to write codes which is the following int Y, Year, week, sum; Year=2011 Y=Year-1 sum=36+Y+Y/4+Y/100
Dear Tutor,This is assembly program.I need to write codes which is the followingint Y, Year, week, sum;Year=2011Y=Year-1sum=36+Y+Y/4+Y/100week=sum%7+1Can you please see my codes?Is my codes correct so far? ===================================================(program.asm); Write an assembly program.INCLUDE Irvine32.inc.dataval1 DW 2011.code main PROCmov ax,@datamov ds,axmov ax, Ymov bx, Yearmov cx, weekmov dx, summov bx, val1sub bx, 1mov ax, bxadd ax,36main ENDPEND main