Line 28... |
Line 28... |
/* */
|
/* */
|
/* Author(s): */
|
/* Author(s): */
|
/* - Olivier Girard, olgirard@gmail.com */
|
/* - Olivier Girard, olgirard@gmail.com */
|
/* */
|
/* */
|
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
/* $Rev: 151 $ */
|
/* $Rev: 200 $ */
|
/* $LastChangedBy: olivier.girard $ */
|
/* $LastChangedBy: olivier.girard $ */
|
/* $LastChangedDate: 2012-07-23 00:24:11 +0200 (Mon, 23 Jul 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
|
|
|
.set UNUSED_0, (((DMEM_BASE-0x0070)&0x7ff8)-0x0002)
|
.set UNUSED_0, (((PER_LENGTH-0x0070) & 0x7ff8)-0x0002)
|
.set CNTRL1, (((DMEM_BASE-0x0070)&0x7ff8)+0x0000)
|
.set CNTRL1, (((PER_LENGTH-0x0070) & 0x7ff8)+0x0000)
|
.set CNTRL2, (((DMEM_BASE-0x0070)&0x7ff8)+0x0002)
|
.set CNTRL2, (((PER_LENGTH-0x0070) & 0x7ff8)+0x0002)
|
.set CNTRL3, (((DMEM_BASE-0x0070)&0x7ff8)+0x0004)
|
.set CNTRL3, (((PER_LENGTH-0x0070) & 0x7ff8)+0x0004)
|
.set CNTRL4, (((DMEM_BASE-0x0070)&0x7ff8)+0x0006)
|
.set CNTRL4, (((PER_LENGTH-0x0070) & 0x7ff8)+0x0006)
|
.set UNUSED_1, (((DMEM_BASE-0x0070)&0x7ff8)-0x0008)
|
.set UNUSED_1, (((PER_LENGTH-0x0070) & 0x7ff8)-0x0008)
|
|
|
main:
|
main:
|
/* -------------- TEST RD/WR REGISTER ACCESS --------------- */
|
/* -------------- TEST RD/WR REGISTER ACCESS --------------- */
|
|
|
mov #0x1234, &UNUSED_0 ; UNUSED 0
|
mov #0x1234, &UNUSED_0 ; UNUSED 0
|