rminnichinitial1fcdf7916 years agoHistory
17 lines · 322 B · Assembly
RawDownload
#define TBRL	268#define TBRU	269		/* Time base Upper/Lower (Reading) */ /* * time stamp counter; _cycles since power up * Runs at fasthz/4 cycles per second (m->clkin>>3) */TEXT cycles(SB),1,$0loop:	MOVW	SPR(TBRU),R7	MOVW	SPR(TBRL),R8	MOVW	SPR(TBRU),R5	CMP	R5,R7	BNE	loop	MOVW	R7,0(R3)	MOVW	R8,4(R3)	RETURN

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t