@magic.line_magic
    @magic_arguments()
    @argument('address', type=hexint, help='Address to read from')
    @argument('size', type=hexint, nargs='?', default=0x100, help='Number of bytes to read')
    def rx8(self, line):
        args = parse_argstring(self.rx8, line)
        d8 = self._d8()
        block = d8.xpeek_block(args.address, args.size)
        self.shell.write(hexdump(block, address=args.address & 0xffff))
Read block of XDATA memory from the 8051
dataset/ETHPy150Open scanlime/coastermelt/backdoor/shell_magics.py/ShellMagics.rx8