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

Subversion Repositories 8051

[/] [8051/] [trunk/] [asm/] [xram.c] - Blame information for rev 185

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 simont
/*
2
 * Copyright (c) 1999-2001 Tony Givargis.  Permission to copy is granted
3
 * provided that this header remains intact.  This software is provided
4
 * with no warranties.
5
 *
6
 * Version : 2.9
7
 */
8
 
9
/*---------------------------------------------------------------------------*/
10
 
11
unsigned char xdata buffer[2048];
12
 
13
/*---------------------------------------------------------------------------*/
14
 
15
void main() {
16
 
17
    unsigned short i;
18
 
19
    buffer[0] = 1;
20
    for(i=1; i<2048; i++) {
21
 
22
        buffer[i] = buffer[i - 1] + 1;
23
    }
24
 
25
    while(1);
26
}

powered by: WebSVN 2.1.0

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