         Edinburgh IMP77 Compiler - Version 8.4-2024.12.18

     1  %begin
 0000 C8 00 00 01                           ENTER 0000,1
     2  
     3    %integer X
     4    %integername XP
     5    
     6    %routine test(%integer a,b, %integername c)
 0004 EB 00                                 JMP L1001
 0006                      L1002  EQU $
 0006 C8 00 00 02                           ENTER 0000,2
     7    %end
 000A C9                                    LEAVE
 000B C3                                    RET
 000C                      L1001  EQU $
?C unused
?B unused
?A unused
     8  
     9    test(X,XP,X)
 000C FF 75 F8                              PUSH DWORD PTR [%EBP-8]
 000F 8B 75 F4                              MOV %ESI,[%EBP-12]
 0012 FF 36                                 PUSH DWORD PTR [%ESI]
 0014 8D 45 F8                              LEA %EAX,[%EBP-8]
 0017 50                                    PUSH %EAX
 0018 E8 00 00                              CALL 'TEST' (INTERNAL L1002 )
 001B 83 C4 0C                              ADD %ESP,#12
    10    
    11  %endofprogram
 001E C9                                    LEAVE
 001F C3                                    RET

     7 Statements compiled



 ELF object file generated from IMP source file: '/home/gtoal/src/compilers101/new-parser/imps/tests/test223.imp'
 +----------+---------------------+---------+---------+---------+------------+
 | Sections |       Symbols       | Code    | Data    | Diag    | Total size |
 +----------+----------+----------+---------+---------+---------+------------+
 |  (count) | Internal | External | (bytes) | (bytes) | (bytes) | (bytes)    |
 +----------+----------+----------+---------+---------+---------+------------+
 |       11 |        5 |        6 |      34 |       0 |      64 |         98 |
 +----------+----------+----------+---------+---------+---------+------------+


