Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

2. Each part of this problem gives a design with an if structure and some assump

ID: 3589993 • Letter: 2

Question

2. Each part of this problem gives a design with an if structure and some assumptions about how the variables are stored in an assembly language program. Give a fragment of assembly language code that implements the design. The assembly language code should flow the same as the design. ic) Design: ifabc then check:-Y else check N; end if Asumponsh ofa doubleword in menony: the character chect is in the AL register d) Design: vaue1000) or ivalue a 1000) then value 0 end if Assumption: value is in EDX le) Design: i (ch 2 and (ch s ) then add 1 to lowerCount; else if (ch z A) and (ch s Z) then add 1 to upperCount else add I to otherCount end if, end if Assumptions: ch is in AL; each of iowenount upperCount, and otherCount references a doubleword in memory

Explanation / Answer

(a) =>

(b) =>

(c) =>

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote