From 7526578599a75c155dd0a97243a2b2289268d836 Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Sat, 16 Jan 2016 18:28:08 -0500 Subject: Fix markup --- porting/porting.rst | 2 ++ 1 file changed, 2 insertions(+) (limited to 'porting/porting.rst') 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; -- cgit v1.2.3