Added warning

This commit is contained in:
Erin 2023-07-26 00:16:50 +02:00 committed by ondra05
parent 972df2f6d7
commit 3740c88daa

View file

@ -34,6 +34,13 @@ macro_rules! constmod {
/// - I: Immediate (implements [`crate::Imm`] trait) /// - I: Immediate (implements [`crate::Imm`] trait)
/// - L: Memory load / store size (u16) /// - L: Memory load / store size (u16)
/// - Other types are identity-mapped /// - Other types are identity-mapped
///
/// # BRC special-case
/// BRC's 3rd operand is plain byte, not a register. Encoding is the same, but for some cases it may matter.
///
/// Please, if you distinguish in your API between byte and register, special case this one.
///
/// Sorry for that :(
#[macro_export] #[macro_export]
macro_rules! invoke_with_def { macro_rules! invoke_with_def {
($macro:path) => { ($macro:path) => {