pull/2/head
ondra05 2023-09-16 01:02:14 +02:00
parent d0dc9ed96b
commit c5f6a5d9f3
No known key found for this signature in database
GPG Key ID: 0DA6D2BB2285E881
2 changed files with 7 additions and 0 deletions

View File

@ -158,6 +158,11 @@ macro_rules! inst_chk {
[$($opcode)|*, _, _, _, _, _, _, _, _, _, $rest @ ..]
};
($rest:ident, d, $($opcode:ident),*) => {
// D1 D2 D3 D4 D5 D6 D7 D8
[$($opcode)|*, _, _, _, _, _, _, _, _, $rest @ ..]
};
($rest:ident, n, $($opcode:ident),*) => {
[$($opcode)|*, $rest @ ..]
};

View File

@ -61,6 +61,8 @@ macro_rules! invoke_with_def {
=> [NEG, NOT, CP, SWA, NEGF, ITF, FTI],
bd(p0: R, p1: I)
=> [LI],
d(p0: I)
=> [JMP],
n()
=> [UN, TX, NOP, ECALL],
);