URL
https://opencores.org/ocsvn/8051/8051/trunk
[/] [8051/] [tags/] [rel0/] [asm/] [negcnt.c] - Diff between revs 2 and 3
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 2 |
Rev 3 |
/*
|
/*
|
* Copyright (c) 1999-2001 Tony Givargis. Permission to copy is granted
|
* Copyright (c) 1999-2001 Tony Givargis. Permission to copy is granted
|
* provided that this header remains intact. This software is provided
|
* provided that this header remains intact. This software is provided
|
* with no warranties.
|
* with no warranties.
|
*
|
*
|
* Version : 2.9
|
* Version : 2.9
|
*/
|
*/
|
|
|
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
|
|
#include <reg51.h>
|
#include <reg51.h>
|
|
|
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
|
|
void main() {
|
void main() {
|
|
|
int i;
|
int i;
|
|
|
for(i=-960; i<-950; i++) {
|
for(i=-960; i<-950; i++) {
|
|
|
P0 = (unsigned char)i;
|
P0 = (unsigned char)i;
|
}
|
}
|
while(1);
|
while(1);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.