forked from AbleOS/holey-bytes
JMP
This commit is contained in:
parent
c62a840eb2
commit
3602380b49
|
@ -158,6 +158,11 @@ macro_rules! inst_chk {
|
||||||
[$($opcode)|*, _, _, _, _, _, _, _, _, _, $rest @ ..]
|
[$($opcode)|*, _, _, _, _, _, _, _, _, _, $rest @ ..]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
($rest:ident, d, $($opcode:ident),*) => {
|
||||||
|
// D1 D2 D3 D4 D5 D6 D7 D8
|
||||||
|
[$($opcode)|*, _, _, _, _, _, _, _, _, $rest @ ..]
|
||||||
|
};
|
||||||
|
|
||||||
($rest:ident, n, $($opcode:ident),*) => {
|
($rest:ident, n, $($opcode:ident),*) => {
|
||||||
[$($opcode)|*, $rest @ ..]
|
[$($opcode)|*, $rest @ ..]
|
||||||
};
|
};
|
||||||
|
|
|
@ -61,6 +61,8 @@ macro_rules! invoke_with_def {
|
||||||
=> [NEG, NOT, CP, SWA, NEGF, ITF, FTI],
|
=> [NEG, NOT, CP, SWA, NEGF, ITF, FTI],
|
||||||
bd(p0: R, p1: I)
|
bd(p0: R, p1: I)
|
||||||
=> [LI],
|
=> [LI],
|
||||||
|
d(p0: I)
|
||||||
|
=> [JMP],
|
||||||
n()
|
n()
|
||||||
=> [UN, TX, NOP, ECALL],
|
=> [UN, TX, NOP, ECALL],
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue