05-02-2012 05:38 AM - edited 03-04-2019 04:13 PM
Hi all,
I was recently looking for some document on the Cisco configuration register values. After some reading I came to know its a 16-bit number.
Then I read this document:
http://www.cisco.com/en/US/products/hw/routers/ps133/products_tech_note09186a008022493f.shtml
The table lists several values for different bit positions & their meaning but I noticed one peculiar thing!
It says if the 6th bit is set then corresponding hex value is 0x0040 meaning ignore NVRAM contents
But if you convert 0x0040 to binary it will be 0000 0000 0100 0000 its the 7th bit that is set for this hex value not 6th as listed in the document. Similarly all the entries in the table given in document counts one bit less than actual value.
Anybody can advise why this is so?
Thanks a lot in advance
Solved! Go to Solution.
05-02-2012 05:56 AM
Hello Pradeep,
bit numbering in the table is 0 to 15. First index is 0 not 1, so bit 6 is actually the seventh bit from right to left using this indexing convention.
Hope to help
Giuseppe
05-02-2012 05:56 AM
Hello Pradeep,
bit numbering in the table is 0 to 15. First index is 0 not 1, so bit 6 is actually the seventh bit from right to left using this indexing convention.
Hope to help
Giuseppe
05-02-2012 06:16 AM
oh!
Thanks a lot Giuseppe!!
I now realise it was my silly mistake to have missed noticing it.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide