Hi. I had a question on clearing the cmos, but before anyone jump to conclusion saying this is something I should look up before asking, I've tried to look for the answer online but with no luck or I haven't looked hard enough. Say that my bios has a certain version say version X. When I clear my cmos, does my bios version downgrade or just stay at version X. Thanks!
The firmware itself is usually stored on an 8megabit (1MiB) EEPROM, it's not volatile and persists even when there's no power. Due to the nature of EEPROM chips it's not advisable to write to them unless absolutely necessary, so firmware settings are typically stored on a small SRAM chip which is volatile, meaning that if it loses power the stored data will be lost. This is why pulling the clock battery or decoupling it via a jumper will zero out the SRAM chip and subsequently force the firmware settings to reset to defaults.
Newer motherboards store the firmware on 64megabit Flash chips rather than EEPROM. Flash is an evolution of EEPROM which is structurally similar but advanced enough that the settings can be stored on the same chip. Since Flash is non-volatile, pulling the battery is not enough to reset the settings, normally a jumper or push button must be used.
If your motherboard has an EFI firmware it almost certainly stores everything in Flash. Motherboards that have Hybrid BIOS/EFI firmware will use Flash as well, BIOS still typically runs on EEPROM but will occasionally be on Flash.
So, read your motherboard manual to figure out how to properly reset the settings before doing so.