Flash access
From Bettyhacks.com - Hack BettyTV-Remote
(forgot to mention register R1 and R2 for programFlash) |
m (disambiguation for adress (source and destination)) |
||
Line 74: | Line 74: | ||
</pre> | </pre> | ||
− | and here is the flash write function, again, register R0 to pass the adress, R1 is the address of the | + | and here is the flash write function, again, register R0 to pass the destination adress, R1 |
− | data to be written, R2 the number of bytes or words to be written. | + | is the source address of the data to be written, R2 the number of bytes or words to be written. |
<pre> | <pre> |