         Edinburgh IMP77 Compiler - Version 8.4-2024.12.18

     1  %begin
 0000 C8 00 00 01                           ENTER 0000,1
     2    %integer i,j
     3    %comment %integer i,j
     4    %integername in1,in2
     5    %comment %integername in1,in2
     6    in2 == i
 0004 8D 45 F8                              LEA %EAX,[%EBP-8]
 0007 89 45 EC                              MOV [%EBP-20],%EAX
     7    %comment in2 == i
     8    in1 == in2
 000A 8B 45 EC                              MOV %EAX,[%EBP-20]
 000D 89 45 F0                              MOV [%EBP-16],%EAX
     9    %comment in1 == in2
    10    in1 = j
 0010 8B 75 F0                              MOV %ESI,[%EBP-16]
 0013 8B 45 F4                              MOV %EAX,[%EBP-12]
 0016 89 06                                 MOV [%ESI],%EAX
    11    %comment in1 = j
    12    i = in1
 0018 8B 7D F0                              MOV %EDI,[%EBP-16]
 001B 8B 07                                 MOV %EAX,[%EDI]
 001D 89 45 F8                              MOV [%EBP-8],%EAX
    13    %comment i = in1
    14    i = j
 0020 8B 45 F4                              MOV %EAX,[%EBP-12]
 0023 89 45 F8                              MOV [%EBP-8],%EAX
    15    %comment i = j
    16  %endofprogram
 0026 C9                                    LEAVE
 0027 C3                                    RET

     9 Statements compiled



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


