Exemple #1
0
def branchToAddress(hexint):  # give the exact address in int where to branch
    armdebug.setPC(hexint -
                   4)  # the magic again! #-4 for the current instruction
def branchToAddress(hexint):  # give the exact address in int where to branch
    armdebug.setPC(hexint - 4)  # the magic again! #-4 for the current instruction
Exemple #3
0
def branchWithOffset(offset):  # signed offset
    armdebug.setPC((armdebug.getPC() + offset -
                    4))  # the magic! #-4 for the current instruction
def branchWithOffset(offset):  # signed offset
    armdebug.setPC((armdebug.getPC() + offset - 4))  # the magic! #-4 for the current instruction