Reserved Word: class IDENTIFIER: CS316ex0 [not in...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
<program> Reserved Word: class IDENTIFIER: CS316ex0 [not in symbol table] { <dataFieldDecl> Reserved Word: static <varDecl> Reserved Word: int <singleVarDecl> IDENTIFIER: x [not in symbol table] = *** Generating: 0: PUSHSTATADDR 0 <expr3> <expr2> <expr1> *** Generating: 1: PUSHNUM 17 UNSIGNED INTEGER LITERAL: 17 ... node has no more children ... node has no more children ... node has no more children *** Generating: 2: SAVETOADDR ... node has no more children , <singleVarDecl> IDENTIFIER: y [not in symbol table] = *** Generating: 3: PUSHSTATADDR 1 <expr3> <expr2> <expr1> - <expr1> *** Generating: 4: PUSHNUM 3 UNSIGNED INTEGER LITERAL: 3 ... node has no more children *** Generating: 5: CHANGESIGN ... node has no more children ... node has no more children ... node has no more children *** Generating: 6: SAVETOADDR ... node has no more children , <singleVarDecl> IDENTIFIER: z [not in symbol table] = *** Generating: 7: PUSHSTATADDR 2 <expr3> <expr2> <expr1> ( <expr7> <expr6> <expr5> <expr4> <expr3> <expr2> <expr1> IDENTIFIER: x [static var (address = 0)] *** Generating: 8: PUSHSTATADDR 0
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
*** Generating: 9: LOADFROMADDR ... node has no more children ... node has no more children + <expr2> <expr1> IDENTIFIER: y [static var (address = 1)] *** Generating: 10: PUSHSTATADDR 1 *** Generating: 11: LOADFROMADDR ... node has no more children ... node has no more children *** Generating: 12: ADD ... node has no more children ... node has no more children ... node has no more children ... node has no more children ... node has no more children ) ... node has no more children * <expr1> ( <expr7> <expr6> <expr5> <expr4> <expr3> <expr2> <expr1> IDENTIFIER: x [static var (address = 0)] *** Generating: 13: PUSHSTATADDR 0 *** Generating: 14: LOADFROMADDR ... node has no more children ... node has no more children - <expr2> <expr1> IDENTIFIER: y [static var (address = 1)] *** Generating: 15: PUSHSTATADDR 1 *** Generating: 16: LOADFROMADDR ... node has no more children ... node has no more children *** Generating: 17: SUB ... node has no more children ... node has no more children ... node has no more children ... node has no more children ... node has no more children ) ... node has no more children *** Generating: 18: MUL / <expr1> ( <expr7> <expr6> <expr5> <expr4> <expr3>
Background image of page 2
<expr2> <expr1> IDENTIFIER: x [static var (address = 0)] *** Generating: 19: PUSHSTATADDR 0 *** Generating: 20: LOADFROMADDR ... node has no more children * <expr1> IDENTIFIER: x [static var (address = 0)] *** Generating: 21: PUSHSTATADDR 0 *** Generating: 22: LOADFROMADDR ... node has no more children *** Generating: 23: MUL ... node has no more children - <expr2> <expr1> IDENTIFIER: y [static var (address = 1)] *** Generating: 24: PUSHSTATADDR 1 *** Generating: 25: LOADFROMADDR ... node has no more children * <expr1> IDENTIFIER: y [static var (address = 1)] *** Generating: 26: PUSHSTATADDR 1 *** Generating: 27: LOADFROMADDR ... node has no more children *** Generating: 28: MUL ... node has no more children
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 06/05/2010 for the course COMPUTER S 700 taught by Professor Joewhite during the Spring '10 term at Universidad San Martín de Porres.

Page1 / 13

Reserved Word: class IDENTIFIER: CS316ex0 [not in...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online