         Edinburgh IMP77 Compiler - Version 8.4-2024.12.18

     1  %begin
 0000 C8 00 00 01                           ENTER 0000,1
     2    %begin
 0004 E8 00 00                              CALL '$L1001' (INTERNAL L1001 )
 0007 EB 00                                 JMP L1002
 0009                      L1001  EQU $
 0009 C8 00 00 02                           ENTER 0000,2
     3      %begin
 000D E8 00 00                              CALL '$L1003' (INTERNAL L1003 )
 0010 EB 00                                 JMP L1004
 0012                      L1003  EQU $
 0012 C8 00 00 03                           ENTER 0000,3
     4        %switch middle,right,left(1:3)
     5  
     6        ->middle(3)
 0016 BE 0C 00 00 00                        MOV %ESI,#12
 001B FF A6 FC FF FF FF                     JMP DWORD PTR [%ESI+SWTAB-4]
     7    
     8        left(1):
 0021                      L1005  EQU $
     9        middle(1):
 0021                      L1006  EQU $
    10        middle(2):
 0021                      L1007  EQU $
    11        right(1):
 0021                      L1008  EQU $
    12        right(2):
 0021                      L1009  EQU $
    13        right(3):
 0021                      L1010  EQU $
    14        left(*):
 0021                      L1011  EQU $
 0021                      L1012  EQU $
    15  
    16      %end
 0021 C9                                    LEAVE
 0022 C3                                    RET
 0023                      L1004  EQU $
    17    %end
    18    
    19  %endofprogram
 0023 C9                                    LEAVE
 0024 C3                                    RET
 0025                      L1002  EQU $
 0025 C9                                    LEAVE
 0026 C3                                    RET

     8 Statements compiled



 ELF object file generated from IMP source file: '/home/gtoal/src/compilers101/new-parser/imps/tests/test166.imp'
 +----------+---------------------+---------+---------+---------+------------+
 | Sections |       Symbols       | Code    | Data    | Diag    | Total size |
 +----------+----------+----------+---------+---------+---------+------------+
 |  (count) | Internal | External | (bytes) | (bytes) | (bytes) | (bytes)    |
 +----------+----------+----------+---------+---------+---------+------------+
 |       14 |        8 |        6 |      43 |      52 |      96 |        191 |
 +----------+----------+----------+---------+---------+---------+------------+


