URL
https://opencores.org/ocsvn/eco32/eco32/trunk
[/] [eco32/] [trunk/] [lcc/] [src/] [eco32.md] - Diff between revs 4 and 252
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 4 |
Rev 252 |
Line 467... |
Line 467... |
p = (unsigned *) &d;
|
p = (unsigned *) &d;
|
print("\t.word\t0x%x\n", p[swap]);
|
print("\t.word\t0x%x\n", p[swap]);
|
print("\t.word\t0x%x\n", p[1 - swap]);
|
print("\t.word\t0x%x\n", p[1 - swap]);
|
} else
|
} else
|
if (suffix == P) {
|
if (suffix == P) {
|
print("\t.word\t0x%x\n", (unsigned) v.p);
|
print("\t.word\t0x%lx\n", (unsigned long) v.p);
|
} else
|
} else
|
if (size == 1) {
|
if (size == 1) {
|
print("\t.byte\t0x%x\n",
|
print("\t.byte\t0x%x\n",
|
(unsigned) ((unsigned char) (suffix == I ? v.i : v.u)));
|
(unsigned) ((unsigned char) (suffix == I ? v.i : v.u)));
|
} else
|
} else
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.