         Edinburgh IMP77 Compiler - Version 8.4-2024.12.18

     1  %begin
 0000 C8 00 00 01                           ENTER 0000,1
     2    %owninteger      io
     3    %integername     in
     4    %integermap      im(%integer i)
 0004 EB 00                                 JMP L1001
 0006                      L1002  EQU $
 0006 C8 00 00 02                           ENTER 0000,2
     5      %result ==  io
 000A B8 00 00 00 00                        MOV %EAX,DATA+#0
 000F C9                                    LEAVE
 0010 C3                                    RET
     6    %end
 0011                      L1001  EQU $
?I unused
     7    
     8    in == im(1)
 0011 6A 01                                 PUSH #1
 0013 E8 00 00                              CALL 'IM' (INTERNAL L1002 )
 0016 83 C4 04                              ADD %ESP,#4
 0019 89 45 F8                              MOV [%EBP-8],%EAX
     9    
    10  %endofprogram
 001C C9                                    LEAVE
 001D C3                                    RET

     8 Statements compiled



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


