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


1.1
date	2009.06.02.20.28.38;	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,#VECT
        mov r3,#16

otro: 	ldrsh r4,[r2],#2
        add r1,r1,r4
        subs r3,r3,#1
        bne otro
        mov r1,r1, asr #4
        strh r1,PROM
loop:   b loop

/* ==============================
*  CONTANTES
*  ==============================
*/
VECT:	.hword 10,20,30,40,50,60,70,80,90,100,110,120,130,140,-10,-20
PROM:   .hword 0
        .balign 4

        .end

@
