Back to the 2022 paper
Similar questions
Compiler DesignChoose the correct answer of the following: Arrange the following parser according to their power (low to high): SLR, CLR, LALR. (i) LALR, CLR, SLR (ii) LALR, SLR, CLR (iii) CLR, LALR, SLR (iv) CLR, SLR, LALR20232m Compiler DesignFind the three-address codes of the following program. There are four bytes per word: ``c Sum = 0; for (i = 1; i<=20; i++) Sum = Sum + a[i] + b[i]; ``20227mMICROPROCESSORSWhich instruction decrements and jumps if not zero? (i) DJNZ (ii) AJMP (iii) CJNE (iv) NOP20252mMICROPROCESSORSWhich among the single operand instructions complements the accumulator without affecting any of the flags? (i) CLR (ii) SETB (iii) CPL (iv) All of the above20202m