forked from AbleOS/holey-bytes
Added warning
This commit is contained in:
parent
972df2f6d7
commit
3740c88daa
|
@ -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) => {
|
||||||
|
|
Loading…
Reference in a new issue