#NEWLINE# def readBlockMemoryAligned32( self , addr , size ) : #NEWLINE# #INDENT# '\n        read a block of aligned words in memory. Returns\n        an array of word values\n        ' #NEWLINE# resp = [ ] #NEWLINE# while ( size > 0 ) : #NEWLINE# #INDENT# n = ( self . auto_increment_page_size - ( addr & ( self . auto_increment_page_size - 1 ) ) ) #NEWLINE# if ( ( size * 4 ) < n ) : #NEWLINE# #INDENT# n = ( ( size * 4 ) & 4294967292 ) #NEWLINE# #UNINDENT# resp += self . dap . readBlock32 ( addr , ( n / 4 ) ) #NEWLINE# size -= ( n / 4 ) #NEWLINE# addr += n #NEWLINE# #UNINDENT# return addr