baseport/syborg/bootstrap/syborg.s
branchGCC_SURGE
changeset 86 42ae69d3c4a8
parent 52 0dfaca43d90e
child 89 077b560f9789
equal deleted inserted replaced
79:80387fbc46c5 86:42ae69d3c4a8
   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