head	1.1;
access;
symbols;
locks; strict;
comment	@# @;
expand	@b@;


1.1
date	2009.06.09.20.15.47;	author GuillermoSteiner;	state Exp;
branches;
next	;


desc
@none
@


1.1
log
@none
@
text
@.text
.arm
.global _start
_start:
        b reset
        b loop
        b loop
        b loop
        b loop
        nop
        b loop
        b loop

/* ==============================
*  TEST CODE
*  ==============================
*/
reset:
        mov r1,#0
        mov r2,#VECTB
        mov r3,#VECTW
        mov r4,#20

otro: 	ldrb r5,[r2],#1
        ldr  r6,[r3,r5,lsl #2]
        add r1,r1,r6
        subs r4,r4,#1
        bne otro
loop:   b loop

/* ==============================
*  CONTANTES
*  ==============================
*/
VECTB:  .byte 0,5,4,9,2,5,4,6,3,9,8,7,9,4,5,2,1,2,3,8
        .balign 4
VECTW:  .word 10,20,30,40,50,60,70,80,90,100
        .end

@
