         Edinburgh IMP77 Compiler - Version 8.4-2024.12.18

     1  %begin
 0000 C8 00 00 01                           ENTER 0000,1
     2    %routine top
 0004 EB 00                                 JMP L1001
 0006                      L1002  EQU $
 0006 C8 00 00 02                           ENTER 0000,2
     3      %routine nested
 000A EB 00                                 JMP L1003
 000C                      L1004  EQU $
 000C C8 00 00 03                           ENTER 0000,3
     4        %switch left,middle,right(1:3)
     5  
     6        ->middle(3)
 0010 BE 0C 00 00 00                        MOV %ESI,#12
 0015 FF A6 0C 00 00 00                     JMP DWORD PTR [%ESI+SWTAB+12]
     7    
     8        left(1):
 001B                      L1005  EQU $
     9        middle(1):
 001B                      L1006  EQU $
    10        middle(2):
 001B                      L1007  EQU $
    11        right(1):
 001B                      L1008  EQU $
    12        right(2):
 001B                      L1009  EQU $
    13        right(3):
 001B                      L1010  EQU $
    14        left(*):
 001B                      L1011  EQU $
 001B                      L1012  EQU $
    15  
    16      %end
 001B C9                                    LEAVE
 001C C3                                    RET
 001D                      L1003  EQU $
    17    %end
?NESTED unused
    18    
    19  %endofprogram
 001D C9                                    LEAVE
 001E C3                                    RET
 001F                      L1001  EQU $
 001F C9                                    LEAVE
 0020 C3                                    RET
?TOP unused

     8 Statements compiled



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


