	.code
	.bank 82
	.org $77b8
l77b8_04: PHX     
          STZ     <$fe
          LDX     #$08
l77bd_04: STZ     $1000
          PHA     
          PLA     
          NOP     
          ORA     #$02
          STA     $1000
          PHA     
          PLA     
          NOP     
          LDA     $1000
          AND     #$01
          ASL     A
          ASL     A
          ASL     A
          ASL     A
          ASL     A
          ASL     A
          ASL     A
          LSR     <$fe
          ORA     <$fe
          STA     <$fe
          STZ     $1000
          PHA     
          PLA     
          NOP     
          DEX     
          BNE     l77bd_04
          LDA     <$fe
          PLX     
          RTS     
