equal
deleted
inserted
replaced
480 ; No other registers modified |
480 ; No other registers modified |
481 ;******************************************************************************* |
481 ;******************************************************************************* |
482 GetDebugPortBase ROUT |
482 GetDebugPortBase ROUT |
483 ldr r1, [r12, #TRomHeader_iDebugPort] |
483 ldr r1, [r12, #TRomHeader_iDebugPort] |
484 cmp r1, #42 ; JTAG? |
484 cmp r1, #42 ; JTAG? |
485 movseq r1, #0 |
485 moveqs r1, #0 |
486 bxeq lr ; yes - return 0 and set Z |
486 bxeq lr ; yes - return 0 and set Z |
487 cmp r1, #1 |
487 cmp r1, #1 |
488 blo GetUartPort0 |
488 blo GetUartPort0 |
489 beq GetUartPort1 |
489 beq GetUartPort1 |
490 cmp r1, #3 |
490 cmp r1, #3 |