13 - Reserved Word: import Reserved...

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

View Full Document Right Arrow Icon
<program> <importStmt> Reserved Word: import Reserved Word: java . Reserved Word: util . Reserved Word: Scanner ; ... node has no more children Reserved Word: class IDENTIFIER: CS316ex13 [not in symbol table] { <mainDecl> Reserved Word: public Reserved Word: static Reserved Word: void Reserved Word: main ( Reserved Word: String IDENTIFIER: args [not in symbol table] [ ] ) *** Generating: 0: INITSTKFRM ? <compoundStmt> { <statement> <varDecl> Reserved Word: Scanner IDENTIFIER: input [local Scanner] = Reserved Word: new Reserved Word: Scanner ( Reserved Word: System . Reserved Word: in ) ; ... node has no more children ... node has no more children <statement> <varDecl> Reserved Word: int <singleVarDecl> IDENTIFIER: im [not in symbol table] = *** Generating: 1: PUSHLOCADDR 1 <expr3> <expr2> <expr1> *** Generating: 2: PUSHNUM 714025 UNSIGNED INTEGER LITERAL: 714025 ... node has no more children ... node has no more children ... node has no more children *** Generating: 3: SAVETOADDR ... node has no more children
Background image of page 1

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

View Full DocumentRight Arrow Icon
, <singleVarDecl> IDENTIFIER: ia [not in symbol table] = *** Generating: 4: PUSHLOCADDR 2 <expr3> <expr2> <expr1> *** Generating: 5: PUSHNUM 1366 UNSIGNED INTEGER LITERAL: 1366 ... 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: ic [not in symbol table] = *** Generating: 7: PUSHLOCADDR 3 <expr3> <expr2> <expr1> *** Generating: 8: PUSHNUM 150889 UNSIGNED INTEGER LITERAL: 150889 ... node has no more children ... node has no more children ... node has no more children *** Generating: 9: SAVETOADDR ... node has no more children ; ... node has no more children ... node has no more children <statement> <varDecl> Reserved Word: int <singleVarDecl> IDENTIFIER: jlo [not in symbol table] = *** Generating: 10: PUSHLOCADDR 4 <expr3> <expr2> <expr1> *** Generating: 11: PUSHNUM 1 UNSIGNED INTEGER LITERAL: 1 ... node has no more children ... node has no more children ... node has no more children *** Generating: 12: SAVETOADDR ... node has no more children , <singleVarDecl> IDENTIFIER: jhi [not in symbol table] = *** Generating: 13: PUSHLOCADDR 5 <expr3> <expr2> <expr1> *** Generating: 14: PUSHNUM 10
Background image of page 2
UNSIGNED INTEGER LITERAL: 10 ... node has no more children ... node has no more children ... node has no more children *** Generating: 15: SAVETOADDR ... node has no more children ; ... node has no more children ... node has no more children <statement> <outputStmt> Reserved Word: System . Reserved Word: out . Reserved Word: print ( <printArgument> *** Generating: 16: WRITESTRING 0 43 CHARACTER STRING LITERAL: "Enter non-negative integer seed <= 750,000: " ... node has no more children ) ; ... node has no more children ... node has no more children <statement> <varDecl> Reserved Word: int <singleVarDecl> IDENTIFIER: jran [not in symbol table] = *** Generating: 17: PUSHLOCADDR 6 <expr3> <expr2> <expr1> IDENTIFIER: input [local Scanner]
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 / 45

13 - Reserved Word: import Reserved...

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