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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [lcc/] [src/] [x86linux.md] - Diff between revs 4 and 252

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 4 Rev 252
Line 966... Line 966...
        else if (suffix == U && size == 2)
        else if (suffix == U && size == 2)
                print(".word %d\n", (int)v.u);
                print(".word %d\n", (int)v.u);
        else if (suffix == U && size == 4)
        else if (suffix == U && size == 4)
                print(".long %d\n", (int)v.u);
                print(".long %d\n", (int)v.u);
        else if (suffix == P && size == 4)
        else if (suffix == P && size == 4)
                print(".long %d\n", (int)v.p);
                print(".long %ld\n", (long)v.p);
        else if (suffix == F && size == 4) {
        else if (suffix == F && size == 4) {
                float f = v.d;
                float f = v.d;
                print(".long %d\n", (int)(*(unsigned *)&f));
                print(".long %d\n", (int)(*(unsigned *)&f));
        } else if (suffix == F && size == 8) {
        } else if (suffix == F && size == 8) {
                double d = v.d;
                double d = v.d;

powered by: WebSVN 2.1.0

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