Exemple #1
0
static inline Um_instruction output(int rc)
{
    return three_register(OUTPUT, 0, 0, rc);
}
Exemple #2
0
static inline Um_instruction map(int rb, int rc)
{
    return three_register(MAP_SEG, 0, rb, rc);
}
Exemple #3
0
static inline Um_instruction condmove(int ra, int rb, int rc)
{
    return three_register(COND_MOVE, ra, rb, rc);
}
Exemple #4
0
Um_instruction input(unsigned rc)
{
        return three_register(INPUT, 0, 0, rc);
}
Exemple #5
0
static inline Um_instruction multiply(int ra, int rb, int rc)
{
    return three_register(MULTIPLY, ra, rb, rc);
}
Exemple #6
0
static inline Um_instruction addition(int ra, int rb, int rc)
{
    return three_register(ADD, ra, rb, rc);
}
Exemple #7
0
Um_instruction conditional(unsigned ra, unsigned rb, unsigned rc)
{
      return three_register(CONDITIONAL, ra, rb, rc);


}
Exemple #8
0
static inline Um_instruction load(int ra, int rb, int rc)
{
    return three_register(SEG_LOAD, ra, rb, rc);
}
Exemple #9
0
Um_instruction multiply(unsigned ra, unsigned rb, unsigned rc)
{

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

}
Exemple #10
0
Um_instruction nand(unsigned ra, unsigned rb, unsigned rc)
{

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

}
Exemple #11
0
Um_instruction divide(unsigned ra, unsigned rb, unsigned rc)
{

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

}
Exemple #12
0
Um_instruction add(unsigned ra, unsigned rb, unsigned rc)
{

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

}
Exemple #13
0
Um_instruction load_prgm(unsigned ra, unsigned rb, unsigned rc)
{

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

}
Exemple #14
0
static inline Um_instruction unmap(int rc)
{
    return three_register(UNMAP_SEG, 0, 0, rc);
}
Exemple #15
0
Um_instruction map(unsigned ra, unsigned rb, unsigned rc)
{
      return three_register(MAP, ra, rb, rc);

}
Exemple #16
0
static inline Um_instruction store(int ra, int rb, int rc)
{
    return three_register(SEG_STORE, ra, rb, rc);
}
Exemple #17
0
Um_instruction store(unsigned ra, unsigned rb, unsigned rc)
{
      return three_register(STORE, ra, rb, rc);

}
Exemple #18
0
static inline Um_instruction nand(int ra, int rb, int rc)
{
    return three_register(NAND, ra, rb, rc);
}
Exemple #19
0
Um_instruction load(unsigned ra, unsigned rb, unsigned rc)
{
      return three_register(LOAD, ra, rb, rc);

}
Exemple #20
0
static inline Um_instruction divide(int ra, int rb, int rc)
{
    return three_register(DIVISION, ra, rb, rc);
}
Exemple #21
0
Um_instruction unmap(unsigned rc)
{
      return three_register(UNMAP, 0, 0, rc);

}
Exemple #22
0
static inline Um_instruction input(int rc)
{
    return three_register(INPUT, 0, 0, rc);
}
Exemple #23
0
static inline Um_instruction halt(void)
{
	return three_register(HALT, 0, 0, 0);
}
Exemple #24
0
static inline Um_instruction loadprogram(int rb, int rc)
{
    return three_register(LOAD_PROG, 0, rb, rc);
}
Exemple #25
0
Um_instruction output(unsigned rc) 
{
        return three_register(OUTPUT, 0, 0, rc);
}