Problem: Hello there, I am an old guy who understands only low level languages and my son showed me this C code: f = (g + h) - (i + j);
Would you help convert this to assembly?
Solution:
#Remember that arithmetic operations can have at most three operands.
sum x, g, h #Puts the addition of g and h in x
sum y, i, j #Puts the addition of i and j in y
sub f, x, y #Puts the subtraction of x and y into f
Would you help convert this to assembly?
Solution:
#Remember that arithmetic operations can have at most three operands.
sum x, g, h #Puts the addition of g and h in x
sum y, i, j #Puts the addition of i and j in y
sub f, x, y #Puts the subtraction of x and y into f
Indeed it was a difficult task to convert that algebraic sum into assemble but kudoos to you that you did it very efficiently and helped that guy.
ReplyDeleteModern Strike online all unlocked is a new multiplayer game that pits players against each other in a variety of combat scenarios. The game is based on the Strike franchise, which is known for its fast-paced action and intense online multiplayer gameplay. The game is available as a free download.
ReplyDelete