         Edinburgh IMP77 Compiler - Version 8.4-2024.12.18

     1  %begin
 0000 C8 00 00 01                           ENTER 0000,1
     2    %integer i,j,k,m,n,p
     3    i = 2
 0004 C7 45 F8 02 00 00 00                  MOV DWORD PTR [%EBP-8],#2
     4    j = 3
 000B C7 45 F4 03 00 00 00                  MOV DWORD PTR [%EBP-12],#3
     5    k = 4
 0012 C7 45 F0 04 00 00 00                  MOV DWORD PTR [%EBP-16],#4
     6    m = 5
 0019 C7 45 EC 05 00 00 00                  MOV DWORD PTR [%EBP-20],#5
     7    n = 6
 0020 C7 45 E8 06 00 00 00                  MOV DWORD PTR [%EBP-24],#6
     8    p = 7
 0027 C7 45 E4 07 00 00 00                  MOV DWORD PTR [%EBP-28],#7
     9    i = i + 4
 002E 83 45 F8 04                           ADD DWORD PTR [%EBP-8],#4
    10    i = 4 + i
 0032 8B 45 F8                              MOV %EAX,[%EBP-8]
 0035 05 04 00 00 00                        ADD %EAX,#4
 003A 89 45 F8                              MOV [%EBP-8],%EAX
    11    i = j + k + m + n
 003D 8B 45 F4                              MOV %EAX,[%EBP-12]
 0040 03 45 F0                              ADD %EAX,[%EBP-16]
 0043 03 45 EC                              ADD %EAX,[%EBP-20]
 0046 03 45 E8                              ADD %EAX,[%EBP-24]
 0049 89 45 F8                              MOV [%EBP-8],%EAX
    12    i = j + 2 + m + 3
 004C 8B 45 F4                              MOV %EAX,[%EBP-12]
 004F 05 02 00 00 00                        ADD %EAX,#2
 0054 03 45 EC                              ADD %EAX,[%EBP-20]
 0057 05 03 00 00 00                        ADD %EAX,#3
 005C 89 45 F8                              MOV [%EBP-8],%EAX
    13    i = 2 + j + 3 + m
 005F 8B 45 F4                              MOV %EAX,[%EBP-12]
 0062 05 02 00 00 00                        ADD %EAX,#2
 0067 05 03 00 00 00                        ADD %EAX,#3
 006C 03 45 EC                              ADD %EAX,[%EBP-20]
 006F 89 45 F8                              MOV [%EBP-8],%EAX
    14  %endofprogram
 0072 C9                                    LEAVE
 0073 C3                                    RET

    14 Statements compiled



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


