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

Subversion Repositories eco32

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

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

Rev 4 Rev 252
Line 913... Line 913...
        else if (suffix == U && size == 2)
        else if (suffix == U && size == 2)
                print("dw 0%xH\n", (unsigned)((unsigned short)v.u));
                print("dw 0%xH\n", (unsigned)((unsigned short)v.u));
        else if (suffix == U && size == 4)
        else if (suffix == U && size == 4)
                print("dd 0%xH\n", (unsigned)v.u);
                print("dd 0%xH\n", (unsigned)v.u);
        else if (suffix == P && size == 4)
        else if (suffix == P && size == 4)
                print("dd 0%xH\n", (unsigned)v.p);
                print("dd 0%lxH\n", (unsigned long)v.p);
        else if (suffix == F && size == 4) {
        else if (suffix == F && size == 4) {
                float f = v.d;
                float f = v.d;
                print("dd 0%xH\n", *(unsigned *)&f);
                print("dd 0%xH\n", *(unsigned *)&f);
        }
        }
        else if (suffix == F && size == 8) {
        else if (suffix == F && size == 8) {

powered by: WebSVN 2.1.0

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