edited by
835 views

1 Answer

1 1 vote
Code A is correct as per explanation given in question. 2 JMP instructions in statements 2 and 4 are exactly as they should be for the given code.

Code B is wrong- the JMP in statement 4 is wrong (statement 2 is a typo?).
Position:
Show:

Related questions

0 0 votes
1 answers 1 answer
696
696 views
Kai asked Nov 18, 2016
696 views
The answer given was D but isn't array access not a TAC as the following link suggests:https://web.stanford.edu/class/archive/cs/cs143/cs143.1128/handouts/240%20TAC%20Exa...
0 0 votes
1 answers 1 answer
851
851 views
Kai asked Nov 18, 2016
851 views
Consider the following expression:(a+a*(b-c)+(b-c)*d)What is the minimum number of three address statements for the expression?My question is whether we should optimize t...