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

Subversion Repositories openmsp430

[/] [openmsp430/] [trunk/] [core/] [sim/] [rtl_sim/] [src/] [sandbox.s43] - Diff between revs 141 and 202

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 141 Rev 202
Line 38... Line 38...
.include "pmem_defs.asm"
.include "pmem_defs.asm"
 
 
.global main
.global main
 
 
WAIT_FUNC:
WAIT_FUNC:
        dec r14
        ;dec r14
 
        dec &DMEM_204
        jnz WAIT_FUNC
        jnz WAIT_FUNC
        ret
        ret
 
 
main:
main:
        mov  #0x0250, r1        ; # Initialize stack pointer
        mov  #0x0250, r1        ; # Initialize stack pointer
Line 57... Line 58...
        mov.b  &0x021,  r5
        mov.b  &0x021,  r5
        mov.b  &0x022,  r6
        mov.b  &0x022,  r6
        mov    &0x170,  r7
        mov    &0x170,  r7
        nop
        nop
        nop
        nop
        mov    #0x0200, r14
        ;mov    #0x0200, r14
 
        mov    #0x0100, &DMEM_204
        call   #WAIT_FUNC
        call   #WAIT_FUNC
 
 
 
 
 
 
        /* ----------------------         END OF TEST        --------------- */
        /* ----------------------         END OF TEST        --------------- */

powered by: WebSVN 2.1.0

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