Fix some off-by-one errors, plus remove some unused variables

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18768 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Chapman 2008-10-11 12:02:23 +00:00
parent 1c4bcfac69
commit 1a549d49f7
2 changed files with 4 additions and 6 deletions

View file

@ -39,7 +39,7 @@ start:
ldr r1, uclunpack_size /* Source length */
sub r2, r0, r1 /* Source start - 1*/
ldr r3, =DRAM_SIZE /* Destination end */
ldr r3, =(DRAM_SIZE-1) /* Destination end */
uclcopy:
ldrb r4, [r0], #-1