version	U12.1.00
uid	bitint.u1-1786032976-0
impl	error
global	2
	0,000005,int2bit,1
	1,000005,bit2int,1

proc int2bit
	local	0,001000,i
	local	1,000020,s
	local	2,000020,sign
	con	0,002000,1,0
	con	1,010000,1,055
	con	2,010000,0
	con	3,002000,1,2
	declend
	filen	bitint.icn
	line	23
	colm	11
	synt	any
	mark	L1
	line	26
	colm	4
	synt	if
	mark0
	pnull
	var	0
	int	0
	line	26
	colm	9
	synt	any
	numeq
	unmark
	mark	L2
	int	0
	line	26
	colm	18
	synt	any
	pret
lab L2
	synt	any
	pfail
	line	26
	colm	4
	synt	endif
	unmark
lab L1
	mark	L3
	line	27
	colm	4
	synt	ifelse
	mark	L4
	pnull
	var	0
	int	0
	line	27
	colm	9
	synt	any
	numlt
	unmark
	mark	L6
	pnull
	var	2
	str	1
	line	28
	colm	12
	synt	any
	asgn
	unmark
lab L6
	pnull
	var	0
	pnull
	var	0
	line	29
	colm	12
	synt	any
	neg
	line	29
	colm	9
	synt	any
	asgn
	goto	L5
lab L4
	pnull
	var	2
	str	2
	line	31
	colm	14
	synt	any
	asgn
lab L5
	line	27
	colm	4
	synt	endifelse
	unmark
lab L3
	mark	L7
	pnull
	var	1
	str	2
	line	32
	colm	6
	synt	any
	asgn
	unmark
lab L7
	mark	L8
lab L9
	line	33
	colm	4
	synt	while
	mark0
	pnull
	var	0
	int	0
	line	33
	colm	12
	synt	any
	numgt
	unmark
	mark	L9
	mark	L12
	pnull
	var	1
	pnull
	pnull
	var	0
	int	3
	line	34
	colm	15
	synt	any
	mod
	var	1
	line	34
	colm	20
	synt	any
	cat
	line	34
	colm	9
	synt	any
	asgn
	unmark
lab L12
	pnull
	var	0
	dup
	int	3
	line	35
	colm	9
	synt	any
	div
	asgn
lab L10
	unmark
	goto	L9
lab L11
	line	33
	colm	4
	synt	endwhile
	unmark
lab L8
	mark	L13
	mark	L14
	pnull
	var	2
	var	1
	line	37
	colm	16
	synt	any
	cat
	line	37
	colm	4
	synt	any
	pret
lab L14
	synt	any
	pfail
	unmark
lab L13
	pnull
	line	38
	colm	1
	synt	any
	pfail
	end
proc bit2int
	local	0,001000,s
	local	1,000000,integer
	con	0,002000,1,1
	con	1,010000,1,055
	con	2,010000,2,062,162
	con	3,002000,1,2
	con	4,002000,1,0
	declend
	line	40
	colm	11
	synt	any
	mark	L1
	line	41
	colm	4
	synt	ifelse
	mark	L2
	pnull
	pnull
	var	0
	int	0
	line	41
	colm	8
	synt	any
	subsc
	str	1
	line	41
	colm	12
	synt	any
	lexeq
	unmark
	mark	L4
	pnull
	str	1
	var	1
	pnull
	str	2
	pnull
	var	0
	int	3
	int	4
	line	41
	colm	57
	synt	any
	synt	any
	sect
	line	41
	colm	51
	synt	any
	cat
	line	41
	colm	45
	synt	any
	invoke	1
	line	41
	colm	35
	synt	any
	cat
	line	41
	colm	24
	synt	any
	pret
lab L4
	synt	any
	pfail
	goto	L3
lab L2
	mark	L5
	var	1
	pnull
	str	2
	var	0
	line	42
	colm	29
	synt	any
	cat
	line	42
	colm	23
	synt	any
	invoke	1
	line	42
	colm	9
	synt	any
	pret
lab L5
	synt	any
	pfail
lab L3
	line	41
	colm	4
	synt	endifelse
	unmark
lab L1
	pnull
	line	43
	colm	1
	synt	any
	pfail
	end
