summaryrefslogtreecommitdiffstats
path: root/porting
diff options
context:
space:
mode:
authorAmar Takhar <amar@rtems.org>2016-01-16 18:28:08 -0500
committerAmar Takhar <verm@darkbeer.org>2016-05-02 20:51:23 -0400
commit7526578599a75c155dd0a97243a2b2289268d836 (patch)
treea3468c4a6d3fbbea8453280f65954c7dde46b8d7 /porting
parentca49bfd73be27cae4a7df00da22e9e7ca5bd8dfa (diff)
downloadrtems-docs-7526578599a75c155dd0a97243a2b2289268d836.tar.bz2
Fix markup
Diffstat (limited to 'porting')
-rw-r--r--porting/porting.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/porting/porting.rst b/porting/porting.rst
index 0c80633..93c8b4c 100644
--- a/porting/porting.rst
+++ b/porting/porting.rst
@@ -1512,7 +1512,9 @@ in software:
- a "binary search using if’s"
- the following algorithm based upon a 16 entry lookup table. In this pseudo-code, bit_set_table[16] has values which indicate the first bit set:
+
.. code:: c
+
_number = 0 if _value > 0x00ff
_value >>=8
_number = 8;