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

Subversion Repositories openmsp430

[/] [openmsp430/] [trunk/] [core/] [sim/] [rtl_sim/] [src/] [dbg_uart_mem.s43] - Diff between revs 154 and 200

Show entire file | Details | Blame | View Log

Rev 154 Rev 200
Line 31... Line 31...
/*                                                                           */
/*                                                                           */
/* Author(s):                                                                */
/* Author(s):                                                                */
/*             - Olivier Girard,    olgirard@gmail.com                       */
/*             - Olivier Girard,    olgirard@gmail.com                       */
/*                                                                           */
/*                                                                           */
/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/
/* $Rev: 154 $                                                                */
/* $Rev: 200 $                                                                */
/* $LastChangedBy: olivier.girard $                                          */
/* $LastChangedBy: olivier.girard $                                          */
/* $LastChangedDate: 2012-10-15 22:44:20 +0200 (Mon, 15 Oct 2012) $          */
/* $LastChangedDate: 2015-01-21 23:01:31 +0100 (Wed, 21 Jan 2015) $          */
/*===========================================================================*/
/*===========================================================================*/
 
 
.include "pmem_defs.asm"
.include "pmem_defs.asm"
 
 
.global main
.global main
 
 
 
        /* ----------------------         SOME VARIABLES IN ROM  --------------- */
 
diverse_data:
 
        .word 0x5ab7
 
        .word 0x6bc8
 
 
 
        /* ----------------------              WAIT FUNCTION     --------------- */
WAIT_FUNC:
WAIT_FUNC:
        dec r14
        dec r14
        jnz WAIT_FUNC
        jnz WAIT_FUNC
        ret
        ret
 
 
 
        /* ----------------------                 MAIN           --------------- */
main:
main:
        mov #DMEM_250, r1       ; # Initialize stack pointer
        mov #DMEM_250, r1       ; # Initialize stack pointer
 
 
        mov   #0x1122, &DMEM_210
        mov   #0x1122, &DMEM_210
        mov   #0x3344, &DMEM_212
        mov   #0x3344, &DMEM_212
Line 65... Line 72...
        /* ----------------------         END OF TEST        --------------- */
        /* ----------------------         END OF TEST        --------------- */
end_of_test:
end_of_test:
        nop
        nop
        br #0xffff
        br #0xffff
 
 
        /* ----------------------         SOME VARIABLES IN ROM  --------------- */
 
diverse_data:
 
        .word 0x5ab7
 
        .word 0x6bc8
 
 
 
        /* ----------------------         INTERRUPT VECTORS  --------------- */
        /* ----------------------         INTERRUPT VECTORS  --------------- */
 
 
.section .vectors, "a"
.section .vectors, "a"
.word end_of_test        ; Interrupt  0 (lowest priority)    
.word end_of_test        ; Interrupt  0 (lowest priority)    
.word end_of_test        ; Interrupt  1                      
.word end_of_test        ; Interrupt  1                      

powered by: WebSVN 2.1.0

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