Esempio n. 1
0
static inline Um_instruction output(int rc)
{
    return three_register(OUTPUT, 0, 0, rc);
}
Esempio n. 2
0
static inline Um_instruction map(int rb, int rc)
{
    return three_register(MAP_SEG, 0, rb, rc);
}
Esempio n. 3
0
static inline Um_instruction condmove(int ra, int rb, int rc)
{
    return three_register(COND_MOVE, ra, rb, rc);
}
Esempio n. 4
0
File: umlab.c Progetto: nflore02/40
Um_instruction input(unsigned rc)
{
        return three_register(INPUT, 0, 0, rc);
}
Esempio n. 5
0
static inline Um_instruction multiply(int ra, int rb, int rc)
{
    return three_register(MULTIPLY, ra, rb, rc);
}
Esempio n. 6
0
static inline Um_instruction addition(int ra, int rb, int rc)
{
    return three_register(ADD, ra, rb, rc);
}
Esempio n. 7
0
File: umlab.c Progetto: nflore02/40
Um_instruction conditional(unsigned ra, unsigned rb, unsigned rc)
{
      return three_register(CONDITIONAL, ra, rb, rc);


}
Esempio n. 8
0
static inline Um_instruction load(int ra, int rb, int rc)
{
    return three_register(SEG_LOAD, ra, rb, rc);
}
Esempio n. 9
0
File: umlab.c Progetto: nflore02/40
Um_instruction multiply(unsigned ra, unsigned rb, unsigned rc)
{

        return three_register(MULTIPLY, ra, rb, rc);

}
Esempio n. 10
0
File: umlab.c Progetto: nflore02/40
Um_instruction nand(unsigned ra, unsigned rb, unsigned rc)
{

        return three_register(NAND, ra, rb, rc);

}
Esempio n. 11
0
File: umlab.c Progetto: nflore02/40
Um_instruction divide(unsigned ra, unsigned rb, unsigned rc)
{

        return three_register(DIVIDE, ra, rb, rc);

}
Esempio n. 12
0
File: umlab.c Progetto: nflore02/40
Um_instruction add(unsigned ra, unsigned rb, unsigned rc)
{

        return three_register(ADD, ra, rb, rc);

}
Esempio n. 13
0
File: umlab.c Progetto: nflore02/40
Um_instruction load_prgm(unsigned ra, unsigned rb, unsigned rc)
{

        return three_register(LOAD_PRGM, ra, rb, rc);

}
Esempio n. 14
0
static inline Um_instruction unmap(int rc)
{
    return three_register(UNMAP_SEG, 0, 0, rc);
}
Esempio n. 15
0
File: umlab.c Progetto: nflore02/40
Um_instruction map(unsigned ra, unsigned rb, unsigned rc)
{
      return three_register(MAP, ra, rb, rc);

}
Esempio n. 16
0
static inline Um_instruction store(int ra, int rb, int rc)
{
    return three_register(SEG_STORE, ra, rb, rc);
}
Esempio n. 17
0
File: umlab.c Progetto: nflore02/40
Um_instruction store(unsigned ra, unsigned rb, unsigned rc)
{
      return three_register(STORE, ra, rb, rc);

}
Esempio n. 18
0
static inline Um_instruction nand(int ra, int rb, int rc)
{
    return three_register(NAND, ra, rb, rc);
}
Esempio n. 19
0
File: umlab.c Progetto: nflore02/40
Um_instruction load(unsigned ra, unsigned rb, unsigned rc)
{
      return three_register(LOAD, ra, rb, rc);

}
Esempio n. 20
0
static inline Um_instruction divide(int ra, int rb, int rc)
{
    return three_register(DIVISION, ra, rb, rc);
}
Esempio n. 21
0
File: umlab.c Progetto: nflore02/40
Um_instruction unmap(unsigned rc)
{
      return three_register(UNMAP, 0, 0, rc);

}
Esempio n. 22
0
static inline Um_instruction input(int rc)
{
    return three_register(INPUT, 0, 0, rc);
}
Esempio n. 23
0
static inline Um_instruction halt(void)
{
	return three_register(HALT, 0, 0, 0);
}
Esempio n. 24
0
static inline Um_instruction loadprogram(int rb, int rc)
{
    return three_register(LOAD_PROG, 0, rb, rc);
}
Esempio n. 25
0
File: umlab.c Progetto: nflore02/40
Um_instruction output(unsigned rc) 
{
        return three_register(OUTPUT, 0, 0, rc);
}