	.code
	.bank 82
	.org $7770
l7770_02: PHX     
          STA     <$fe
          LDX     #$08
l7775_02: LSR     <$fe
          CLA     
          ADC     #$00
          STA     $1000
          PHA     
          PLA     
          NOP     
          ORA     #$02
          STA     $1000
          PHA     
          PLA     
          PHA     
          PLA     
          PHA     
          PLA     
          AND     #$01
          STA     $1000
          PHA     
          PLA     
          NOP     
          DEX     
          BNE     l7775_02
          PLX     
          RTS     
