URL
https://opencores.org/ocsvn/mlite/mlite/trunk
[/] [mlite/] [trunk/] [tools/] [mlite.c] - Diff between revs 52 and 104
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 52 |
Rev 104 |
Line 19... |
Line 19... |
#define ntohs(A) ( ((A)>>8) | (((A)&0xff)<<8) )
|
#define ntohs(A) ( ((A)>>8) | (((A)&0xff)<<8) )
|
#define htons(A) ntohs(A)
|
#define htons(A) ntohs(A)
|
#define ntohl(A) ( ((A)>>24) | (((A)&0xff0000)>>8) | (((A)&0xff00)<<8) | ((A)<<24) )
|
#define ntohl(A) ( ((A)>>24) | (((A)&0xff0000)>>8) | (((A)&0xff00)<<8) | ((A)<<24) )
|
#define htonl(A) ntohl(A)
|
#define htonl(A) ntohl(A)
|
|
|
int getch(void);
|
// int getch(void);
|
|
#define getch getchar
|
|
|
typedef struct {
|
typedef struct {
|
long r[32];
|
long r[32];
|
long pc,pc_next;
|
long pc,pc_next;
|
long hi;
|
long hi;
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.