Create usb_memcpy.S

This commit is contained in:
Alex Lewontin 2021-08-04 00:52:06 -04:00 committed by GitHub
parent 7bc8efaee4
commit 2935adef79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@ check_alignment:
bne.n unaligned
aligned:
/* r0: src, r1: dest, r2: num, r3: #3 */
/* r0: dest, r1: src, r2: num, r3: #3 */
movs r4, r2
bics r4, r3
@ -79,8 +79,8 @@ leftover_check:
adds r0, r0, r6
/*
* r0: src
* r1: dest
* r0: dest
* r1: src
* r2 is 1, 2, or 3 (# of bytes left)
* r3: #3
* r4: &USBD