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

Subversion Repositories openmsp430

[/] [openmsp430/] [trunk/] [core/] [sim/] [rtl_sim/] [src/] [sing-op_call.s43] - Diff between revs 128 and 141

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

Rev 128 Rev 141
Line 27... Line 27...
/*                                                                           */
/*                                                                           */
/* Author(s):                                                                */
/* Author(s):                                                                */
/*             - Olivier Girard,    olgirard@gmail.com                       */
/*             - Olivier Girard,    olgirard@gmail.com                       */
/*                                                                           */
/*                                                                           */
/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/
/* $Rev: 128 $                                                                */
/* $Rev: 141 $                                                                */
/* $LastChangedBy: olivier.girard $                                          */
/* $LastChangedBy: olivier.girard $                                          */
/* $LastChangedDate: 2011-12-16 22:05:46 +0100 (Fri, 16 Dec 2011) $          */
/* $LastChangedDate: 2012-05-05 23:22:06 +0200 (Sat, 05 May 2012) $          */
/*===========================================================================*/
/*===========================================================================*/
 
 
.set    DMEM_BASE, (__data_start     )
.include "pmem_defs.asm"
.set    DMEM_200,  (__data_start+0x00)
 
.set    DMEM_212,  (__data_start+0x12)
 
.set    DMEM_216,  (__data_start+0x16)
 
.set    DMEM_21A,  (__data_start+0x1A)
 
.set    DMEM_21E,  (__data_start+0x1E)
 
.set    DMEM_220,  (__data_start+0x20)
 
.set    DMEM_250,  (__data_start+0x50)
 
.set    DMEM_252,  (__data_start+0x52)
 
.set    DMEM_300,  (__data_start+0x100)
 
 
 
.global main
.global main
 
 
main:
main:
        /* -------------- TEST INSTRUCTION WITH STANDARD REGISTERS AS ARGUMENT ------------------- */
        /* -------------- TEST INSTRUCTION WITH STANDARD REGISTERS AS ARGUMENT ------------------- */
Line 122... Line 113...
.set   EDE_21E,  DMEM_21E
.set   EDE_21E,  DMEM_21E
 
 
        mov     #0x0000, r5
        mov     #0x0000, r5
        mov  #TEST_ROUTINE_EDE, &DMEM_21E
        mov  #TEST_ROUTINE_EDE, &DMEM_21E
        mov     #0x5555, &DMEM_300
        mov     #0x5555, &DMEM_300
        call    EDE_21E            ;# CALL TEST_ROUTINE_EDE
        call    EDE_21E+PMEM_LENGTH            ;# CALL TEST_ROUTINE_EDE
 
 
        mov     #0x7000, r15
        mov     #0x7000, r15
 
 
 
 
        # Addressing mode: &EDE
        # Addressing mode: &EDE

powered by: WebSVN 2.1.0

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