         Edinburgh IMP77 Compiler - Version 8.4-2024.12.18

     1  %begin
 0000 C8 00 00 01                           ENTER 0000,1
     2    %switch swlab(0:5)
     3    %integer i
     4    ->swlab(i)
 0004 8B 45 F8                              MOV %EAX,[%EBP-8]
 0007 C1 E0 02                              SHL %EAX,#2
 000A 89 C6                                 MOV %ESI,%EAX
 000C FF A6 00 00 00 00                     JMP DWORD PTR [%ESI+SWTAB]
     5  swlab(4): ! hello
 0012                      L1001  EQU $
     6  %endofprogram
 0012 C9                                    LEAVE
 0013 C3                                    RET
