         Edinburgh IMP77 Compiler - Version 8.4
    1 %recordformatspec Stackfm
		.Ltext0:
				.globl	PASS2
		PASS2:
		.LFB189:
    2
    3 %recordformat Stackfm( %c
    4       %integer Flags,
    5       %byte Base, Prim,
    6       %byte  Type, Form,
    7       (%longreal Rval %or %integer Rhigh, Rlow %c
    8         %or (%integer Disp, Extra),
    9       (%integer Format %or %integer Scale),
   10       %integer Area,
   11       %integer Varno,
   12       (%integer Bias %or %byte Reg, Label),
   13       %record(Stackfm)%name     Params, Record,
   14       (%integer  Oper, %record(Stackfm)%name Link),
   15       (%integer Xsize, %record(Stackfm)%name Index)),
   16       %record(Stackfm)%name          Using, Stack)
   17
   18 %externalroutine pass2
				pushl	%ebp
				movl	%esp, %ebp
				subl	$24, %esp
				call	__x86.get_pc_thunk.ax
				addl	$_GLOBAL_OFFSET_TABLE_, %eax
				movl	%gs:20, %eax
				movl	%eax, -12(%ebp)
				xorl	%eax, %eax
				leal	8(%ebp), %eax
				movl	%eax, -16(%ebp)
   19    %routine Initialise(%record(Stackfm)%name V, %integer Base, Form)
   20       V = 0
   21       ! In pass2.imp these fields are missing in the generated C, but
   22       ! I haven't yet been able to replicate the problem in a smaller
   23       ! test program such as this :-(
   24       V_Base  = Base
   25       V_Type  = 42
   26       V_Form  = Form
   27       V_Flags = 17
   28    %end
   29 %end
				nop
				movl	-12(%ebp), %eax
				xorl	%gs:20, %eax
				je	.L3
				call	__stack_chk_fail_local
		.L3:
				leave
				ret
		.LFE189:
				.section	.text.__x86.get_pc_thunk.ax,"axG",@progbits,__x86.get_pc_thunk.ax,comdat
				.globl	__x86.get_pc_thunk.ax
				.hidden	__x86.get_pc_thunk.ax
		__x86.get_pc_thunk.ax:
		.LFB191:
				movl	(%esp), %eax
				ret
		.LFE191:
		.Letext0:
?INITIALISE unused
   30
   31 %endoffile
   12 Statements compiled
