Result

WA

Code [DL]

00000000  21 00 00 16 01 0e 00 cd  03 80 38 31 e6 01 47 79  |!.........81..Gy|
00000010  87 80 4f 6f 7a 87 57 20  ee cd 03 80 29 29 29 23  |..Ooz.W ....)))#|
00000020  3e ff 11 01 00 2c 2d 28  0d 3c 1b 1b 19 38 f6 3e  |>....,-(.<...8.>|
00000030  30 cd 00 80 18 ca 3e 31  cd 00 80 18 c3 76        |0.....>1.....v|
0000003e

Disassembly

        ORG     0000h

L0000:  LD      HL,0000h
        LD      D,01h
        LD      C,00h
L0007:  CALL    8003h
        JR      C,L003D
        AND     01h
        LD      B,A
        LD      A,C
        ADD     A,A
        ADD     A,B
        LD      C,A
        LD      L,A
        LD      A,D
        ADD     A,A
        LD      D,A
        JR      NZ,L0007
        CALL    8003h
        ADD     HL,HL
        ADD     HL,HL
        ADD     HL,HL
        INC     HL
        LD      A,0FFh
        LD      DE,0001h
L0025:  INC     L
        DEC     L
        JR      Z,L0036
        INC     A
        DEC     DE
        DEC     DE
        ADD     HL,DE
        JR      C,L0025
        LD      A,30h           ; '0'
        CALL    8000h
        JR      L0000

L0036:  LD      A,31h           ; '1'
        CALL    8000h
        JR      L0000

L003D:  HALT

stdin

10111010
10010000
10001000
10111110
00000001
11001101
01001110
00110111
10101011
01100010
11010110
11101010
10111100
00000001
00000000
01100111
00000011
00010101
10100100
00101011
11010010
11100111
11111101
00011100
10100011
00010101
00100100
10100101
01011100
00100111
01111110
01011011
00110011
01000010
01100110
00001010
10011001
10011100
00001111
00000110
01101001
00101101
11111000
01111000
00011010
11011011
00011001
01110010
11100100
11111111

stdout

00111111110111101110111111101001011111111111010010

stderr

strace