anchor.diff:  % end
   </a>
   % if options[:current_value]
  -<h4><font style="background-color: #66FF66">Current Value: <%= sprintf("0x%02X",reg.value) %></font></h4>
  -% end
  -
  +%   if reg.size <= 8
  +<h4><font style="background-color: #66FF66">Current Value: <%= sprintf("0x%08X",reg.value) %></font></h4>
  +%   elsif reg.size <= 16
  +<h4><font style="background-color: #66FF66">Current Value: <%= sprintf("0x%04X",reg.value) %></font></h4>
  +%   elsif reg.size <= 24
  +<h4><font style="background-color: #66FF66">Current Value: <%= sprintf("0x%06X",reg.value) %></font></h4>
  +%   elsif reg.size <= 32
  +<h4><font style="background-color: #66FF66">Current Value: <%= sprintf("0x%08X",reg.value) %></font></h4>
  +%   end
  +% end
  +
  +% # binding.pry
   % if options[:descriptions]
   <div markdown="1" style="margin: 0 0 20px 0">
   
  
positive.code:         </p>
        </td>
  <td markdown="1">
  
  % bit_val_str = bits.data.to_s
  % bits.description.each do |line|
  %   if options[:current_value]
  %     if line =~ /^\d{#{bit_val_str.length}}/ 
  %       if line =~ /^#{bit_val_str}/
  <font style="background-color: #66FF66"> <%=        line.gsub("\\'", "'") %>
  </font>
  %       else
  <%=        line.gsub("\\'", "'") %>
  %       end
  %     else
  <%=        line.gsub("\\'", "'") %>
  
negative.code: %    end
  % end
      </tr>
  % end
    </tbody>
  </table>
  
  