OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [arch/] [cris/] [boot/] [rescue/] [testrescue.S] - Rev 1275

Go to most recent revision | Compare with Previous | Blame | View Log

/*
 * Simple testcode to download by the rescue block.
 * Just lits some LEDs to show it was downloaded correctly.
 *
 * Copyright (C) 1999-2003 Axis Communications AB
 */

#define ASSEMBLER_MACROS_ONLY
#include <asm/sv_addr_ag.h>

        .text

        nop
        nop
        moveq   -1, $r2
        move.b  $r2, [R_PORT_PA_DIR]
        moveq   0, $r2
        move.b  $r2, [R_PORT_PA_DATA]

endless:
        nop
        ba      endless
        nop

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.