         Edinburgh IMP77 Compiler - Version 8.4-2024.12.18

     1  %begin
 0000 C8 00 00 01                           ENTER 0000,1
     2    %integer q,w,e,r,t,y { bump up indexes for easier debugging }
     3    %recordformat testfm(%integer one, two)
     4    %integer u,i,o,p
     5    %record (testfm) %array test(0:10)
 0004 C7 45 C4 01 00 00 00                  MOV DWORD PTR [%EBP-60],#1
 000B C7 45 C8 00 00 00 00                  MOV DWORD PTR [%EBP-56],#0
 0012 C7 45 CC 0A 00 00 00                  MOV DWORD PTR [%EBP-52],#10
 0019 C7 45 D0 09 01 00 00                  MOV DWORD PTR [%EBP-48],#265
 0020 8D 45 C4                              LEA %EAX,[%EBP-60]
 0023 50                                    PUSH %EAX
 0024 E8 0A 00                              CALL '_IMPADEF' (EXTERN 10)
 0027 83 C4 04                              ADD %ESP,#4
 002A 8D 4D C4                              LEA %ECX,[%EBP-60]
 002D 89 E3                                 MOV %EBX,%ESP
 002F 29 D3                                 SUB %EBX,%EDX
 0031 89 5D BC                              MOV [%EBP-68],%EBX
 0034 89 4D C0                              MOV [%EBP-64],%ECX
 0037 01 C3                                 ADD %EBX,%EAX
 0039 89 DC                                 MOV %ESP,%EBX
     6    %integer a,s,d,f
     7    %record (testfm) %name pointer
     8    q = 5
 003B C7 45 F8 05 00 00 00                  MOV DWORD PTR [%EBP-8],#5
     9    pointer == test(q)
 0042 FF 75 F8                              PUSH DWORD PTR [%EBP-8]
 0045 FF 75 C0                              PUSH DWORD PTR [%EBP-64]
 0048 E8 09 00                              CALL '_IMPAREF' (EXTERN 9)
 004B 83 C4 08                              ADD %ESP,#8
 004E 89 C6                                 MOV %ESI,%EAX
 0050 03 75 BC                              ADD %ESI,[%EBP-68]
 0053 89 75 A8                              MOV [%EBP-88],%ESI
    10    pointer_two = p
 0056 8B 7D A8                              MOV %EDI,[%EBP-88]
 0059 8B 45 D4                              MOV %EAX,[%EBP-44]
 005C 89 47 04                              MOV [%EDI+4],%EAX
    11  
    12  %endofprogram
 005F C9                                    LEAVE
 0060 C3                                    RET
