Answered step by step
Verified Expert Solution
Question
1 Approved Answer
this is the assembly code I have but the output for W is coming to = 3 8 when I need it to = 4
this is the assembly code I have but the output for W is coming to when I need it to holding true to the equation WXYPQ: ; INSERT YOUR CODE HERE
ld a;
ld X a;
ld a;
ld Y a;
ld a;
ld P a;
ld a;
ld Q a;
;
; compute for w
ld aX;
ld b a;
ld aY;
add a b;
ld b a;
ld aP;
sub b;
ld b a;
ld aQ;
add a b;
ld W a;
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started