original_docstring: Load data from string into memory by start address.
docstring: Load data from string into memory by start address.
docstring_tokens: Load data from string into memory by start address .
code: def load_hex(self, start, source):
          """Load data from string into memory by start address."""
          address = start
          block, block_size = 0, 0
          for part in source.split():
              part_size = len(part) * 4
              part = int(part, base=16)
              block = (block << part_size) | part
              block_size += part_size
              if block_size >= self.ram.word_size:
                  self.ram.put(address, block, block_size)
                  address += block_size // self.ram.word_size
                  block, block_size = 0, 0
          if block_size != 0:
              raise ValueError('Cannot save string, wrong size')
code_tokens: def load_hex ( self , start , source ) : address = start block , block_size = 0 , 0 for part in source . split ( ) : part_size = len ( part ) * 4 part = int ( part , base = 16 ) block = ( block << part_size ) | part block_size += part_size if block_size >= self . ram . word_size : self . ram . put ( address , block , block_size ) address += block_size // self . ram . word_size block , block_size = 0 , 0 if block_size != 0 : raise ValueError ( 'Cannot save string, wrong size' )
short_docstring: Load data from string into memory by start address.
short_docstring_tokens: Load data from string into memory by start address .
comment: """Load data from string into memory by start address."""