URL
https://opencores.org/ocsvn/openmsp430/openmsp430/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 111 |
Rev 141 |
Line 28... |
Line 28... |
/* */
|
/* */
|
/* 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_202, (__data_start+0x02)
|
|
.set DMEM_204, (__data_start+0x04)
|
|
.set DMEM_206, (__data_start+0x06)
|
|
.set DMEM_250, (__data_start+0x50)
|
|
|
|
.set TACTL, 0x0160
|
|
.set TAR, 0x0170
|
|
.set TACCTL0, 0x0162
|
|
.set TACCR0, 0x0172
|
|
.set TACCTL1, 0x0164
|
|
.set TACCR1, 0x0174
|
|
.set TACCTL2, 0x0166
|
|
.set TACCR2, 0x0176
|
|
.set TAIV, 0x012E
|
|
|
|
|
.global main
|
|
|
WAIT_FUNC:
|
WAIT_FUNC:
|
dec r14
|
dec r14
|
jnz WAIT_FUNC
|
jnz WAIT_FUNC
|
ret
|
ret
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.