state_machine_emulator/emulation.py
def bit_string(self, value):
        """ function to produce a string with the binary representation of a value """
        bit_string = ""
        for i in reversed(range(32)):
            if (value & (1 << i)) == 0:
                bit_string += "0"
            else:
                bit_string += "1"
        return bit_string
 function to produce a string with the binary representation of a value 
function to produce a string with the binary representation of a value
function to produce a string with the binary representation of a value
def bit_string(self, value):
        bit_string = ""
        for i in reversed(range(32)):
            if (value & (1 << i)) == 0:
                bit_string += "0"
            else:
                bit_string += "1"
        return bit_string
def bit_string ( self , value ) : bit_string = "" for i in reversed ( range ( 32 ) ) : if ( value & ( 1 << i ) ) == 0 : bit_string += "0" else : bit_string += "1" return bit_string
function to produce a string with the binary representation of a value
function to produce a string with the binary representation of a value
""" function to produce a string with the binary representation of a value """
self
value