I'm writing a routine to flush the PowerPC750 data cache before turning it off when using write back mode.
I've found the IBM application note 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. I would have expected this to be an add of 0x20 (32) since I think the cache lines are 32 bytes wide. Can anyone confirm or repudiate my thinking?!