         Edinburgh IMP77 Compiler - Version 8.4-2024.12.18

     1  %begin
 0000 C8 00 00 01                           ENTER 0000,1
     2    %constinteger Max Lines = 20, Max Line Width = 80
     3    %byte %integer %array AA, BB (1:Max Lines*Max Line Width)
 0004 C7 45 EC 01 00 00 00                  MOV DWORD PTR [%EBP-20],#1
 000B C7 45 F0 01 00 00 00                  MOV DWORD PTR [%EBP-16],#1
 0012 C7 45 F4 40 06 00 00                  MOV DWORD PTR [%EBP-12],#1600
 0019 C7 45 F8 2B 00 00 00                  MOV DWORD PTR [%EBP-8],#43
 0020 8D 45 EC                              LEA %EAX,[%EBP-20]
 0023 50                                    PUSH %EAX
 0024 E8 0A 00                              CALL '_IMPADEF' (EXTERN 10)
 0027 83 C4 04                              ADD %ESP,#4
 002A 8D 4D EC                              LEA %ECX,[%EBP-20]
 002D 89 E3                                 MOV %EBX,%ESP
 002F 29 D3                                 SUB %EBX,%EDX
 0031 89 5D E4                              MOV [%EBP-28],%EBX
 0034 89 4D E8                              MOV [%EBP-24],%ECX
 0037 01 C3                                 ADD %EBX,%EAX
 0039 29 D3                                 SUB %EBX,%EDX
 003B 89 5D DC                              MOV [%EBP-36],%EBX
 003E 89 4D E0                              MOV [%EBP-32],%ECX
 0041 01 C3                                 ADD %EBX,%EAX
 0043 81 E3 FC FF FF FF                     AND %EBX,#-4
 0049 89 DC                                 MOV %ESP,%EBX
     4    %byte %integer %array     CC (1:Max Lines*Max Line Width)
 004B C7 45 CC 01 00 00 00                  MOV DWORD PTR [%EBP-52],#1
 0052 C7 45 D0 01 00 00 00                  MOV DWORD PTR [%EBP-48],#1
 0059 C7 45 D4 40 06 00 00                  MOV DWORD PTR [%EBP-44],#1600
 0060 C7 45 D8 2B 00 00 00                  MOV DWORD PTR [%EBP-40],#43
 0067 8D 45 CC                              LEA %EAX,[%EBP-52]
 006A 50                                    PUSH %EAX
 006B E8 0A 00                              CALL '_IMPADEF' (EXTERN 10)
 006E 83 C4 04                              ADD %ESP,#4
 0071 8D 4D CC                              LEA %ECX,[%EBP-52]
 0074 89 E3                                 MOV %EBX,%ESP
 0076 29 D3                                 SUB %EBX,%EDX
 0078 89 5D C4                              MOV [%EBP-60],%EBX
 007B 89 4D C8                              MOV [%EBP-56],%ECX
 007E 01 C3                                 ADD %EBX,%EAX
 0080 81 E3 FC FF FF FF                     AND %EBX,#-4
 0086 89 DC                                 MOV %ESP,%EBX
     5  %endofprogram
 0088 C9                                    LEAVE
 0089 C3                                    RET
?CC unused
?BB unused
?AA unused

     5 Statements compiled



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


