Given the pseudo VM code below, write the Jack expression from which it was generated. In other words, what is the expression that produced the following pseudo VM code? push x
neg
push 2
neg
push a
push 7
call fourierTrans
sub
a. -x - 2 + fourierTrans(a, 7).b. -x - 2 + fourierTrans(7, a).c. -x + fourierTrans(7, -a, 2).d. -x + fourierTrans(-2, a, 7).e. -x - fourierTrans(-2, a, 7).

Solved
Show answers

Ask an AI advisor a question