title: Trying to flush the PowerPC 750 data cache
body: <p>I'm writing a routine to flush the PowerPC750 data cache before turning it off when using write back mode.</p>
  
  <p>I've found the <a href="http://www.ibm.com/developerworks/library/pa-ppccache.html" rel="nofollow noreferrer" title="IBM application note">IBM application note</a> on programming the caches which includes a flush routine, but I am confused by the example code. I think it might be a mistake in the example but thought I'd check. In Listing 2 there are two loops which include and instruction to "move to next block". Moving to the next block is achieved by adding 0x10 to the current address. <strong>I would have expected this to be an add of 0x20 (32) since I think the cache lines are 32 bytes wide.</strong> Can anyone confirm or repudiate my thinking?!</p>