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

Subversion Repositories raptor64

[/] [raptor64/] [trunk/] [software/] [c64/] [source/] [Code.h] - Rev 37

Compare with Previous | Blame | View Log

/*
 *      code structure definitions.
 */
 
enum address_mode {
        am_const, am_label, am_string, am_temp, am_auto,
        am_defcon, am_deflab, am_defstr, am_deftemp, am_defauto,
        am_none };
 
enum instruction {
        i_move, i_add, i_sub, i_mul, i_div, i_mod, i_and, i_or,
        i_xor, i_shl, i_shr, i_jmp, i_jeq, i_jne, i_jlt, i_jle,
        i_jgt, i_jge, i_call, i_enter, i_ret, i_table, i_label };
 
union aval {
        int             i;
        char            *s;
        };
 
struct inst {
        struct inst     *fwd, *back;
        int             opcode, size;
        char            sm0, sm1, dm;
        union aval      sv0, sv1, dv;
        };
 
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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