         Edinburgh IMP77 Compiler - Version 8.4-2024.12.18

     1  %constinteger THREE = 3, FOUR = 4
 0000 C8 00 00 01                           ENTER 0000,1
     2  %begin
     3    %switch there(0:FOUR*FOUR-1)
     4    %integer i
     5    i = three
 0004 C7 45 F8 03 00 00 00                  MOV DWORD PTR [%EBP-8],#3
     6    i = four
 000B C7 45 F8 04 00 00 00                  MOV DWORD PTR [%EBP-8],#4
     7    i = three*four
 0012 C7 45 F8 0C 00 00 00                  MOV DWORD PTR [%EBP-8],#12
     8    ->there(three*four)
 0019 BE 30 00 00 00                        MOV %ESI,#48
 001E FF A6 00 00 00 00                     JMP DWORD PTR [%ESI+SWTAB]
     9  
    10  there(three):
 0024                      L1001  EQU $
    11  there(four):
 0024                      L1002  EQU $
    12  there(three*four):
 0024                      L1003  EQU $
    13    newline
 0024 E8 43 00                              CALL 'NEWLINE' (EXTERN 67)
    14  %endofprogram
 0027 C9                                    LEAVE
 0028 C3                                    RET

    10 Statements compiled



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


