home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.ee.pdx.edu
/
2014.02.ftp.ee.pdx.edu.tar
/
ftp.ee.pdx.edu
/
pub
/
users
/
Harry
/
compilers
/
p10
/
tst
/
read.out.bak
< prev
next >
Wrap
Text File
|
2006-02-17
|
1KB
|
55 lines
PROGRAM IS
VAR
i: integer := 0;
j: integer := i;
k: integer := i;
x: real := 0.0;
y: real := x;
z: real := x;
BEGIN
READ (i);
READ (x);
READ (i, x, j, y, k, z);
END;
maxLexicalLevel = 0
===== String List Follows =====
===== Float List Follows =====
float1: 0.0
===== Intermediate Code Follows =====
! MAIN...
mainEntry
! VAR INITIALIZATION...
i := 0
! VAR INITIALIZATION...
j := i
! VAR INITIALIZATION...
k := i
! VAR INITIALIZATION...
x := 0.0
! VAR INITIALIZATION...
y := x
! VAR INITIALIZATION...
z := x
! READ STMT...
t1 := &i
readInt t1
! READ STMT...
t2 := &x
readFloat t2
! READ STMT...
t3 := &i
readInt t3
t4 := &x
readFloat t4
t5 := &j
readInt t5
t6 := &y
readFloat t6
t7 := &k
readInt t7
t8 := &z
readFloat t8
! MAIN EXIT...
mainExit
=======================================