'Get next instructions at an address
Args:
- address: address to get next instruction (Int)
- count: number of instructions to read (Int)
Returns:
- - list of tuple (address(Int), code(String))'

@memoized
def next_inst(self, address, count=1):

    result = []
    code = self.execute_redirect(('x/%di    0x%x' % ((count + 1), address)))
    if (not code):
        return None
    lines = code.strip().splitlines()
    for i in range(1, (count + 1)):
        (addr, code) = lines[i].split(':', 1)
        addr = re.search('(0x[^    ]*)', addr).group(1)
        result += [(to_int(addr), code)]
    return result
