Advanced Search
Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

ADC Home > Reference Library > Technical Q&As > Hardware & Drivers > PCI and PC Card >

What numeric base is the default for the Open Firmware user interface?


Q: What numeric base is the default for the Open Firmware user interface?

A: It is hex. Try these Forth words at the Open Firmware user interface.

0> 10 dup cr .d .

The results will be:
16 10 ok
0>

You entered hex 10, then duplicated it. You then output the top of the stack in decimal (the .d word) followed by outputting the top item on the stack in the default base, which is hex.

[Oct 11 1999]




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.