Result

AC

Code [DL]

00000000  0c 2e 00 cd 03 80 38 32  e6 01 cb 25 85 6f cb 21  |......82...%.o.!|
00000010  20 f1 cd 03 80 26 00 29  29 29 23 3e ff 11 01 00  | ....&.)))#>....|
00000020  2c 2d 20 0d 24 25 20 09  3e 01 c6 30 cd 00 80 18  |,- .$% .>..0....|
00000030  cf 3c 1b 1b 19 38 e9 af  18 f0 76                 |.<...8....v|
0000003b

Disassembly

        ORG     0000h

L0000:  INC     C
        LD      L,00h
L0003:  CALL    8003h
        JR      C,L003A
        AND     01h
        SLA     L
        ADD     A,L
        LD      L,A
        SLA     C
        JR      NZ,L0003
        CALL    8003h
        LD      H,00h
        ADD     HL,HL
        ADD     HL,HL
        ADD     HL,HL
        INC     HL
        LD      A,0FFh
        LD      DE,0001h
L0020:  INC     L
        DEC     L
        JR      NZ,L0031
        INC     H
        DEC     H
        JR      NZ,L0031
        LD      A,01h
L002A:  ADD     A,30h           ; '0'
        CALL    8000h
        JR      L0000

L0031:  INC     A
        DEC     DE
        DEC     DE
        ADD     HL,DE
        JR      C,L0020
        XOR     A
        JR      L002A

L003A:  HALT

stdin

00000000
10011111
01100101
11110110
00111010
01101001
11111011
10001111
00000110
11000101
00001111
10011001
11011010
11111000
01111100
00000101
00000100
00010101
11001100
11010010
10111000
00011110
00101011
10001000
10111110
11011000
00110111
00000011
00001111
01001011
01111000
10000000
11100111
11111101
00101101
01110000
10101011
01001110
10111011
00001010
11101111
10010000
01011011
00011100
01000010
01100000
11000111
00000001
00100100
11111101

stdout

10000100101100000101000110111010111011010011100111

stderr

strace