         Edinburgh IMP77 Compiler - Version 8.4-2024.12.18

     1  %begin
 0000 C8 00 00 01                           ENTER 0000,1
     2  %constant %string(255) s = "left right"
     3  %string(255) p, q
     4    %if s -> p.(" ").q %start
 0004 8D 85 FC FD FF FF                     LEA %EAX,[%EBP-516]
 000A 50                                    PUSH %EAX
 000B B8 0B 00 00 00                        MOV %EAX,COT+#11
 0010 50                                    PUSH %EAX
 0011 8D 85 FC FE FF FF                     LEA %EAX,[%EBP-260]
 0017 50                                    PUSH %EAX
 0018 B8 00 00 00 00                        MOV %EAX,COT+#0
 001D 50                                    PUSH %EAX
 001E E8 07 00                              CALL '_IMPSTRRES' (EXTERN 7)
 0021 83 C4 10                              ADD %ESP,#16
 0024 3D 00 00 00 00                        CMP %EAX,#0
 0029 3D 00 00 00 00                        CMP %EAX,#0
 002E 74 00                                 JE L1001
     5    %finish
 0030                      L1001  EQU $
     6  %endofprogram
 0030 C9                                    LEAVE
 0031 C3                                    RET

     6 Statements compiled



 ELF object file generated from IMP source file: '/home/gtoal/src/compilers101/new-parser/imps/tests/res.imp'
 +----------+---------------------+---------+---------+---------+------------+
 | Sections |       Symbols       | Code    | Data    | Diag    | Total size |
 +----------+----------+----------+---------+---------+---------+------------+
 |  (count) | Internal | External | (bytes) | (bytes) | (bytes) | (bytes)    |
 +----------+----------+----------+---------+---------+---------+------------+
 |       12 |        5 |        7 |      52 |      14 |      32 |         98 |
 +----------+----------+----------+---------+---------+---------+------------+


