##### Synopsis

    TargetInterface.setRegister(register, value)

##### Description

TargetInterface.setRegister sets the CPU regsister register to value.

register is a string describing the register to set and must be one of r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13 or sp, r14 or lr, r15 or pc, cpsr, r8_fiq, r9_fiq, r10_fiq, r11_fiq, r12_fiq, r13_fiq, r14_fiq, spsr_fiq, r13_svc, r14_svc, spsr_svc, r13_abt, r14_abt, spsr_abt, r13_irq, r14_irq, spsr_irq, r13_und, r14_und, spsr_und.

Note that this function will only change the CPU register state if the CPU is stopped.