All pastes #1730712 Raw Edit

avr

public text v1 · immutable
#1730712 ·published 2009-12-29 14:56 UTC
rendered paste body
	for(;;){
		lfsr = (lfsr >> 1) ^ (-(short)(lfsr & 1u) & 0xB400u);
  80:	c9 01       	movw	r24, r18
  82:	96 95       	lsr	r25
  84:	87 95       	ror	r24
  86:	21 70       	andi	r18, 0x01	; 1
  88:	30 70       	andi	r19, 0x00	; 0
  8a:	30 95       	com	r19
  8c:	21 95       	neg	r18
  8e:	3f 4f       	sbci	r19, 0xFF	; 255
  90:	20 70       	andi	r18, 0x00	; 0
  92:	34 7b       	andi	r19, 0xB4	; 180
  94:	28 27       	eor	r18, r24
  96:	39 27       	eor	r19, r25
		PORTB = (unsigned char) lfsr;
  98:	28 bb       	out	0x18, r18	; 24
  9a:	f2 cf       	rjmp	.-28     	; 0x80 <main+0x26>