         Edinburgh IMP77 Compiler - Version 8.4-2024.12.18

     1  %begin
 0000 C8 00 00 01                           ENTER 0000,1
     2    %integerarray ia(0:9)
 0004 C7 45 EC 01 00 00 00                  MOV DWORD PTR [%EBP-20],#1
 000B C7 45 F0 00 00 00 00                  MOV DWORD PTR [%EBP-16],#0
 0012 C7 45 F4 09 00 00 00                  MOV DWORD PTR [%EBP-12],#9
 0019 C7 45 F8 83 00 00 00                  MOV DWORD PTR [%EBP-8],#131
 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 89 DC                                 MOV %ESP,%EBX
     3    %comment   %integerarray ia(0:9)
     4    %integerarray(1)%name ian
     5    %comment   %integerarray(1)%name ian
     6    ian == ia   ;! type mismatch
 003B 8B 45 E8                              MOV %EAX,[%EBP-24]
 003E 89 45 E0                              MOV [%EBP-32],%EAX
 0041 8B 45 E4                              MOV %EAX,[%EBP-28]
 0044 89 45 DC                              MOV [%EBP-36],%EAX
     7    %comment   ian == ia   ;! type mismatch
     8    ian(2) = 3  ;! index is missing
 0047 6A 02                                 PUSH #2
 0049 FF 75 E0                              PUSH DWORD PTR [%EBP-32]
 004C E8 09 00                              CALL '_IMPAREF' (EXTERN 9)
 004F 83 C4 08                              ADD %ESP,#8
 0052 89 C6                                 MOV %ESI,%EAX
 0054 03 75 DC                              ADD %ESI,[%EBP-36]
 0057 C7 06 03 00 00 00                     MOV DWORD PTR [%ESI],#3
     9    %comment   ian(2) = 3  ;! index is missing
    10  %endofprogram
 005D C9                                    LEAVE
 005E C3                                    RET

     6 Statements compiled



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


