__mftbu

Purpose

Move from Time Base Upper

Returns the upper word of the time base register.

Prototype

unsigned int __mftbu (void);

Usage

In 32-bit mode you can use this function in conjunction with the __mftb built-in function to read the entire time base register

It is recommended that you insert the __fence built-in function before and after the __mftbu built-in function.