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

Subversion Repositories openmsp430

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

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

Rev 141 Rev 200
Line 27... Line 27...
/*                                                                           */
/*                                                                           */
/* Author(s):                                                                */
/* Author(s):                                                                */
/*             - Olivier Girard,    olgirard@gmail.com                       */
/*             - Olivier Girard,    olgirard@gmail.com                       */
/*                                                                           */
/*                                                                           */
/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/
/* $Rev: 141 $                                                                */
/* $Rev: 200 $                                                                */
/* $LastChangedBy: olivier.girard $                                          */
/* $LastChangedBy: olivier.girard $                                          */
/* $LastChangedDate: 2012-05-05 23:22:06 +0200 (Sat, 05 May 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
Line 119... Line 119...
        mov     #0x5000, r15
        mov     #0x5000, r15
 
 
 
 
        # Addressing mode: EDE
        # Addressing mode: EDE
        #------------------------
        #------------------------
.set   EDE_21E,  DMEM_21E
.set   EDE_21E,  DMEM_21E+PMEM_EDE_LENGTH
.set   EDE_220,  DMEM_220
.set   EDE_220,  DMEM_220+PMEM_EDE_LENGTH
 
 
        mov   #DMEM_200, r4
        mov   #DMEM_200, r4
        mov     #0x8765, &DMEM_21E
        mov     #0x8765, &DMEM_21E
        mov     #0x5555, &DMEM_300
        mov     #0x5555, &DMEM_300
        push    EDE_21E+PMEM_LENGTH            ;# PUSH (0x8765  =>  @=0x0240)
        push    EDE_21E            ;# PUSH (0x8765  =>  @=0x0240)
 
 
        mov     #0x4321, &DMEM_220
        mov     #0x4321, &DMEM_220
        mov     #0x5555, &DMEM_300
        mov     #0x5555, &DMEM_300
        push    EDE_220+PMEM_LENGTH            ;# PUSH (0x4321  =>  @=0x023E)
        push    EDE_220            ;# PUSH (0x4321  =>  @=0x023E)
 
 
        mov     #0x6000, r15
        mov     #0x6000, r15
 
 
 
 
        # Addressing mode: &EDE
        # Addressing mode: &EDE
Line 234... Line 234...
        mov     #0xC000, r15
        mov     #0xC000, r15
 
 
 
 
        # Addressing mode: EDE
        # Addressing mode: EDE
        #------------------------
        #------------------------
.set   EDE_B_21E,  DMEM_21E
.set   EDE_B_21E,  DMEM_21E+PMEM_EDE_LENGTH
.set   EDE_B_221,  DMEM_221
.set   EDE_B_221,  DMEM_221+PMEM_EDE_LENGTH
 
 
        mov   #DMEM_200, r4
        mov   #DMEM_200, r4
        mov     #0xd10e, &DMEM_21E
        mov     #0xd10e, &DMEM_21E
        mov     #0x5555, &DMEM_300
        mov     #0x5555, &DMEM_300
        push.b  EDE_B_21E+PMEM_LENGTH          ;# PUSH (0x0e  =>  @=0x0240)
        push.b  EDE_B_21E          ;# PUSH (0x0e  =>  @=0x0240)
 
 
        mov     #0xfed0, &DMEM_220
        mov     #0xfed0, &DMEM_220
        mov     #0x5555, &DMEM_300
        mov     #0x5555, &DMEM_300
        push.b  EDE_B_221+PMEM_LENGTH          ;# PUSH (0xfe  =>  @=0x023E)
        push.b  EDE_B_221          ;# PUSH (0xfe  =>  @=0x023E)
 
 
        mov     #0xD000, r15
        mov     #0xD000, 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.