right it didn't list the codes very well, i'll list them again:

Code:
eleven 	.equ 	11
fourteen 	.equ 	14
P 	.equ 	0

	ldab 	#4

loop 	cba
	ldaa	 #eleven
	tst	 0,x
	jmp 	PnB
PnB 	ldaa 	#fourteen
	adda 	#P
	jmp 	plus
plus 	asla
	staa 	P
	jmp 	shiftP
shiftP 	ldaa 	#P
	asla
	decb
	tstb
	bne loop
	.org $0120 

	.end
and the other code

Code:
	C 	P 	A
	0 	0000 	1011
N=1	0 	1110 	1011	(LSB = 1, so P+B=P)
		0111 	0101 	(Shift Bits Right)
N=2 	1 	0101 	0101 	(LSB = 1, so P+B=P)
	0 	1010 	1010 	(Shift Bits Right)