Looking for an excel formula

when cell A and B are empty than cell C must be 0 +
when cell A is equal to B than cell C must be 1 +
when cell A is bigger than B than cell must be 2 otherwise 0

*this must be 1 formula* anyone?
update:
the following formula we used:
=IF(G4+H4=0;0;IF(G4>H4;2;IF(G4=H4;1;IF(G4<H4;0))))

i-podder.js

Just tested the i-podder.js script under Windows XP together with the new to be released Commodore e-VIC.
Working flawlessly. Automatically receive rss 2.0 enclosures and store it on the Music Player’s Harddrive. Kewl ..
Looking forward to more features like: progress indicator, detection if file already exist. Timer function, storage to specific folder according to file-extension .. etc. etc.