         Edinburgh IMP77 Compiler - Version 8.4
    1 %begin
				.section	".text"
		.Ltext0:
				.section	.rodata.str1.8,"aMS",@progbits,1
				.align 8
		.LC1:
				.asciz	"test-new/defsw.imp"
				.align 8
		.LC2:
				.asciz	"switch jump to undefined label MISSING(%d): at %s line %d"
				.align 8
		.LC3:
				.asciz	"->SW(%d) out of bounds at %s line %d"
				.section	".rodata"
		.LC0:
				.byte	18
				.asciz	"test-new/defsw.imp"
				.skip	236
				.section	".text"
				.align 4
				.global main
				.proc	04
		main:
		.LFB185:
				.register	%g2, #scratch
				.register	%g3, #scratch
				.register	%g7, #ignore
		.LVL0:
				save	%sp, -1760, %sp
		.LVL1:
				ldx	[%g7+40], %g1
				stx	%g1, [%fp+2039]
				mov	0, %g1
    2   %switch missing, sw(0:9)
				mov	%i1, %o1
				call	_imp_initialise, 0
				 mov	%i0, %o0
		.LVL2:
		.L2:
		.LBB9:
    3
    4 missing(1):
    5   ->sw(34)
    6
    7 sw(0):
    8   %stop
    9
   10 sw(*):
   11   ->missing(2)
				mov	2, %g3
				mov	11, %g2
		.L7:
		.LVL7:
				jmp	%g1
				 nop
		.L4:
		.LVL8:
		.LBB10:
		.LBB11:
				call	exit, 0
				 mov	0, %o0
		.LVL9:
		.L5:
		.LDL1:
		.LBE11:
		.LBE10:
				mov	%g3, %i5
				mov	%g2, %l0
				mov	%l1, %l3
				ba,pt	%xcc, .L7
				 mov	%i1, %g1
		.LVL10:
		.L8:
		.LBB12:
		.LBB13:
				call	exit, 0
				 mov	0, %o0
		.LVL11:
		.L6:
		.LBE13:
		.LBE12:
				sethi	%hi(_imp_current_file), %g1
				ldx	[%g1+%lo(_imp_current_file)], %o1
				brz,pn	%o1, .L9
				 mov	256, %o2
				call	_imp_c2istr, 0
				 add	%fp, 1527, %o0
		.LVL12:
				sethi	%hi(_imp_current_line), %g1
		.L19:
				lduw	[%g1+%lo(_imp_current_line)], %l2
				cmp	%l2, 0
				be,a,pt	%icc, .L11
				 mov	22, %l2
		.L11:
				mov	256, %o2
				add	%fp, 1527, %o1
				call	memcpy, 0
				 add	%fp, 495, %o0
		.LVL13:
				sra	%l0, 0, %l0
				stx	%l0, [%sp+2239]
				stx	%l3, [%sp+2231]
				sra	%i5, 0, %i5
				stx	%i5, [%sp+2223]
				mov	%i0, %o5
				mov	2, %o4
				mov	2, %o3
				mov	8, %o2
				sra	%l2, 0, %o1
				call	_signal_eventf, 0
				 add	%fp, 495, %o0
		.LVL14:
				ba,pt	%xcc, .L18
				 sethi	%hi(_imp_current_file), %g1
		.LVL15:
		.L9:
		.LBB14:
				mov	%i2, %o1
				call	memcpy, 0
				 add	%fp, 1015, %o0
		.LVL16:
				mov	256, %o2
				add	%fp, 1015, %o1
				call	memcpy, 0
				 add	%fp, 759, %o0
		.LVL17:
		.LBE14:
				mov	256, %o2
				add	%fp, 759, %o1
				call	memcpy, 0
				 add	%fp, 1527, %o0
		.LVL18:
				ba,pt	%xcc, .L19
				 sethi	%hi(_imp_current_line), %g1
		.LVL19:
		.L12:
		.LBB15:
				mov	%i2, %o1
				call	memcpy, 0
				 add	%fp, 1015, %o0
		.LVL20:
				mov	256, %o2
				add	%fp, 1015, %o1
				call	memcpy, 0
				 add	%fp, 1271, %o0
		.LVL21:
		.LBE15:
				mov	256, %o2
				add	%fp, 1271, %o1
				call	memcpy, 0
				 add	%fp, 1783, %o0
		.LVL22:
				ba,pt	%xcc, .L20
				 sethi	%hi(_imp_current_line), %g1
		.LFE185:
		.Letext0:
   12
   13 sw(7):
   14
   15 %endofprogram
    6 Statements compiled
				sethi	%hi(.LC0), %i2
				or	%i2, %lo(.LC0), %i2
		.LBE9:
				sethi	%hi(.LC1), %i4
				or	%i4, %lo(.LC1), %i4
				sethi	%hi(.LC3), %i3
				or	%i3, %lo(.LC3), %i3
				mov	%i4, %l1
				sethi	%hi(.L6), %i1
				or	%i1, %lo(.L6), %i1
				sethi	%hi(.LC2), %i0
				or	%i0, %lo(.LC2), %i0
		.L3:
		.LVL3:
				sethi	%hi(_imp_current_file), %g1
		.L18:
				ldx	[%g1+%lo(_imp_current_file)], %o1
				brz,pn	%o1, .L12
				 mov	256, %o2
				call	_imp_c2istr, 0
				 add	%fp, 1783, %o0
		.LVL4:
				sethi	%hi(_imp_current_line), %g1
		.L20:
				lduw	[%g1+%lo(_imp_current_line)], %i5
				cmp	%i5, 0
				move	%icc, 25, %i5
				mov	256, %o2
				add	%fp, 1783, %o1
				call	memcpy, 0
				 add	%fp, 495, %o0
		.LVL5:
				mov	5, %g1
				stx	%g1, [%sp+2239]
				stx	%i4, [%sp+2231]
				mov	34, %g1
				stx	%g1, [%sp+2223]
				mov	%i3, %o5
				mov	34, %o4
				mov	3, %o3
				mov	6, %o2
				sra	%i5, 0, %o1
				call	_signal_eventf, 0
				 add	%fp, 495, %o0
		.LVL6:
				mov	0, %g1
				mov	%l1, %l3
				mov	11, %l0
				mov	2, %i5
