         Edinburgh IMP77 Compiler - Version 8.4-2024.12.18

     1  %begin
 0000 C8 00 00 01                           ENTER 0000,1
     2    %integer i, i1, i2, i3
     3    i = i1 %while i2 = i3
 0004                      L1001  EQU $
 0004 8B 45 F0                              MOV %EAX,[%EBP-16]
 0007 3B 45 EC                              CMP %EAX,[%EBP-20]
 000A 75 00                                 JNE L1002
 000C 8B 45 F4                              MOV %EAX,[%EBP-12]
 000F 89 45 F8                              MOV [%EBP-8],%EAX
 0012 EB 00                                 JMP L1001
 0014                      L1002  EQU $
     4    %while i2 = i3 %then i = i1
 0014                      L1003  EQU $
 0014 8B 45 F0                              MOV %EAX,[%EBP-16]
 0017 3B 45 EC                              CMP %EAX,[%EBP-20]
 001A 75 00                                 JNE L1004
 001C 8B 45 F4                              MOV %EAX,[%EBP-12]
 001F 89 45 F8                              MOV [%EBP-8],%EAX
 0022 EB 00                                 JMP L1003
 0024                      L1004  EQU $
     5  %endofprogram
 0024 C9                                    LEAVE
 0025 C3                                    RET

     5 Statements compiled



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


