blob: 566a9f341254478a5aa9596a0ba6dab09b5e77e6 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/* $Id: testrescue.S,v 1.1 2001/12/17 13:59:27 bjornw Exp $
2 *
3 * Simple testcode to download by the rescue block.
4 * Just lits some LEDs to show it was downloaded correctly.
5 *
6 * Copyright (C) 1999 Axis Communications AB
7 */
8
9#define ASSEMBLER_MACROS_ONLY
10#include <asm/sv_addr_ag.h>
11
12 .text
13
14 nop
15 nop
16 moveq -1, $r2
17 move.b $r2, [R_PORT_PA_DIR]
18 moveq 0, $r2
19 move.b $r2, [R_PORT_PA_DATA]
20
21endless:
22 nop
23 ba endless
24 nop
25
26