<p>What are the common algorithms being used to measure the processor frequency?</p>

I'm not sure why you need assembly for this.  If you're on a machine that has the /proc filesystem, then running:
```
```
> cat /proc/cpuinfo
```
```
might give you what you need.