Remove unnecessary modulus instruction
This commit is contained in:
parent
988f84e5c1
commit
1a5c7d1820
@ -126,7 +126,6 @@ move.l #1, d1 | Set the number of sectors to read to 1
|
||||
move.l #SEC_BUF_START, a1 | Set the read address of the sector to the sector buffer
|
||||
bsr.b read_sectors | Read the end sector
|
||||
move.l d6, d1 | Load the number of remaining bytes into d1
|
||||
andi #0x1FF, d1 | Modulus the number of remaining bytes by 512 to compute the number of bytes to copy from the end sector
|
||||
end_sec_loop: | Transfer the required bytes from the start sector to the destination buffer
|
||||
move.b (a1)+, (a2)+
|
||||
dbra d1, end_sec_loop
|
||||
|
Loading…
Reference in New Issue
Block a user