         Edinburgh IMP77 Compiler - Version 8.4-2024.12.18

     1  !%constinteger one=1, two=one+one
     2  %constinteger one=1, two=2
     3  
     4  %constintegerarray fred(1:4) = one, one+one, two+one, two*two
     5  
     6  %begin
 0000 C8 00 00 01                           ENTER 0000,1
     7    %switch x(1:4)
     8    x(one):
 0004                      L1001  EQU $
     9    x(one+one):
 0004                      L1002  EQU $
    10    x(two+one):
 0004                      L1003  EQU $
    11    x(two*two):
 0004                      L1004  EQU $
    12  %endofprogram
 0004 C9                                    LEAVE
 0005 C3                                    RET

     5 Statements compiled



 ELF object file generated from IMP source file: '/home/gtoal/src/compilers101/new-parser/imps/tests/test136.imp'
 +----------+---------------------+---------+---------+---------+------------+
 | Sections |       Symbols       | Code    | Data    | Diag    | Total size |
 +----------+----------+----------+---------+---------+---------+------------+
 |  (count) | Internal | External | (bytes) | (bytes) | (bytes) | (bytes)    |
 +----------+----------+----------+---------+---------+---------+------------+
 |       15 |        7 |        6 |       6 |      64 |      32 |        102 |
 +----------+----------+----------+---------+---------+---------+------------+


