1 /***************************************************************************
2 * Copyright (C) 2010 by Spencer Oliver *
3 * spen@spen-soft.co.uk *
5 * Copyright (C) 2011 Øyvind Harboe *
6 * oyvind.harboe@zylin.com *
8 * Copyright (C) 2011 Clement Burin des Roziers *
9 * clement.burin-des-roziers@hikob.com *
11 * Copyright (C) 2017 Armin van der Togt *
14 * This program is free software; you can redistribute it and/or modify *
15 * it under the terms of the GNU General Public License as published by *
16 * the Free Software Foundation; either version 2 of the License, or *
17 * (at your option) any later version. *
19 * This program is distributed in the hope that it will be useful, *
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
22 * GNU General Public License for more details. *
24 * You should have received a copy of the GNU General Public License *
25 * along with this program; if not, write to the *
26 * Free Software Foundation, Inc., *
27 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. *
28 ***************************************************************************/
31 // Build : arm-eabi-gcc -c stm32lx.S
40 r0 - destination address
45 // r2 = source + count * 4
51 // load word from address in r1 and increase r1 by 4
53 // store word to address in r0 and increase r0 by 4
61 // Set breakpoint to exit