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

Subversion Repositories openmsp430

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

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

Rev 111 Rev 141
Line 30... Line 30...
/*                                                                           */
/*                                                                           */
/* Author(s):                                                                */
/* Author(s):                                                                */
/*             - Olivier Girard,    olgirard@gmail.com                       */
/*             - Olivier Girard,    olgirard@gmail.com                       */
/*                                                                           */
/*                                                                           */
/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/
/* $Rev: 111 $                                                                */
/* $Rev: 141 $                                                                */
/* $LastChangedBy: olivier.girard $                                          */
/* $LastChangedBy: olivier.girard $                                          */
/* $LastChangedDate: 2011-05-20 22:39:02 +0200 (Fri, 20 May 2011) $          */
/* $LastChangedDate: 2012-05-05 23:22:06 +0200 (Sat, 05 May 2012) $          */
/*===========================================================================*/
/*===========================================================================*/
 
 
.global main
.include "pmem_defs.asm"
 
 
.set   DMEM_BASE, (__data_start     )
 
.set   DMEM_200,  (__data_start+0x00)
 
.set   DMEM_250,  (__data_start+0x50)
 
 
 
.set   P1IN,  0x0020
 
.set   P1OUT, 0x0021
 
.set   P1DIR, 0x0022
 
.set   P1IFG, 0x0023
 
.set   P1IES, 0x0024
 
.set   P1IE,  0x0025
 
.set   P1SEL, 0x0026
 
.set   P2IN,  0x0028
 
.set   P2OUT, 0x0029
 
.set   P2DIR, 0x002A
 
.set   P2IFG, 0x002B
 
.set   P2IES, 0x002C
 
.set   P2IE,  0x002D
 
.set   P2SEL, 0x002E
 
 
 
.set   BCSCTL1, 0x0057
 
.set   BCSCTL2, 0x0058
 
 
 
 
.global main
 
 
WAIT_FUNC:
WAIT_FUNC:
        dec r14
        dec r14
        jnz WAIT_FUNC
        jnz WAIT_FUNC
        ret
        ret

powered by: WebSVN 2.1.0

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