#include "copyright.h"Go to the source code of this file.
Defines | |
| #define | MEMSIZE (1<<24) |
| #define | memoffset 0x10000000 |
| #define | amark(x) x |
| #define | imark(x) x |
| #define | ifetch(addr) (*(int *)(int) (&(mem-memoffset)[imark(addr)])) |
| #define | fetch(addr) (*(int *)(int) (&(mem-memoffset)[amark(addr)])) |
| #define | sfetch(addr) (*(short *)(int) (&(mem-memoffset)[amark(addr)])) |
| #define | usfetch(addr) (*(unsigned short *)(int)(&(mem-memoffset)[amark(addr)])) |
| #define | cfetch(addr) (*(char *)(int) (&(mem-memoffset)[amark(addr)])) |
| #define | ucfetch(addr) (*(unsigned char *)(int)(&(mem-memoffset)[amark(addr)])) |
| #define | store(addr, i) |
| #define | sstore(addr, i) |
| #define | cstore(addr, i) |
|
|
|
|
|
|
|
|
|
|
|
Value: (((mem-memoffset)[amark(addr)] = (i))) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Value: ((*(short *)(int) (&(mem-memoffset)[amark(addr)]) = (i))) |
|
|
Value: ((*(int *)(int) (&(mem-memoffset)[amark(addr)]) = (i))) |
|
|
|
|
|
|
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001