\xcd\x01\x80G>1\xffx\xcbX \xffv
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
Disassemble:
ORG 00000H CALL 08001H ;0000 CD 01 80 . . . LD B,A ;0003 47 G LD A,031H ;0004 3E 31 > 1 RST 38H ;0006 FF . LD A,B ;0007 78 X BIT 3,B ;0008 CB 58 . X JR NZ,$+1 ;000A 20 FF . HALT ;000C 76 V