view target-utils/libc/memcpy32.S @ 811:4c7f3778dc24

fc-tmsh: add simple commands carried via ETM debug opcode
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 10 May 2021 00:59:15 +0000
parents 8dc062c6359b
children
line wrap: on
line source

	.text
	.code	32
	.globl	memcpy32
memcpy32:
1:	subs	r2, r2, #4
	ldrcs	r3, [r1], #4
	strcs	r3, [r0], #4
	bhi	1b
	bx	lr