         Edinburgh IMP77 Compiler - Version 8.4-2024.12.18

     1  %begin
 0000 C8 00 00 01                           ENTER 0000,1
     2    %routinespec fred(%integer i)
     3    fred(3)
 0004 6A 03                                 PUSH #3
 0006 E8 00 00                              CALL 'FRED' (INTERNAL L1001 )
 0009 83 C4 04                              ADD %ESP,#4
     4    %routine fred(%integer i)
 000C EB 00                                 JMP L1002
 000E                      L1001  EQU $
 000E C8 00 00 02                           ENTER 0000,2
     5      write(i,0)
 0012 FF 75 08                              PUSH DWORD PTR [%EBP+8]
 0015 6A 00                                 PUSH #0
 0017 E8 40 00                              CALL 'WRITE' (EXTERN 64)
 001A 83 C4 08                              ADD %ESP,#8
     6      newline
 001D E8 43 00                              CALL 'NEWLINE' (EXTERN 67)
     7    %end
 0020 C9                                    LEAVE
 0021 C3                                    RET
 0022                      L1002  EQU $
     8  %endofprogram

     8 Statements compiled
 0022 C9                                    LEAVE
 0023 C3                                    RET



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


