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

Subversion Repositories openmsp430

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

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_208,  (__data_start+0x08)
 
.set   DMEM_210,  (__data_start+0x10)
 
.set   DMEM_218,  (__data_start+0x18)
 
.set   DMEM_220,  (__data_start+0x20)
 
.set   DMEM_228,  (__data_start+0x28)
 
.set   DMEM_230,  (__data_start+0x30)
 
.set   DMEM_238,  (__data_start+0x38)
 
.set   DMEM_240,  (__data_start+0x40)
 
.set   DMEM_248,  (__data_start+0x48)
 
.set   DMEM_250,  (__data_start+0x50)
 
.set   DMEM_258,  (__data_start+0x58)
 
.set   DMEM_260,  (__data_start+0x60)
 
 
 
.set   P1IN,  0x0020
.global main
.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
 
 
 
main:
main:
        ; Disable interrupts
        ; Disable interrupts
        dint
        dint
        mov.b #0x00, &P1IE
        mov.b #0x00, &P1IE

powered by: WebSVN 2.1.0

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