~nabijaczleweli/yaxpeax-superh

f2087f2b0b3a2317ecae2ad03371da93e665241e — наб 18 days ago 8a42db2
Fix CAS.L links
3 files changed, 5 insertions(+), 8 deletions(-)

M Cargo.toml
M README.md
M src/lib.rs
M Cargo.toml => Cargo.toml +1 -0
@@ 16,6 16,7 @@ version = "0.0.4"
default-features = false
optional = true


[features]
default = ["yaxpeax"]
yaxpeax = ["yaxpeax-arch"]

M README.md => README.md +1 -1
@@ 16,7 16,7 @@ I'm not picky, just please include the repo name in the subject prefix.

## Discussion

Please use the tracker, the list, or [Twitter](//twitter.com/nabijaczleweli/status/1315137083380559873).
Please use the tracker, the list, or [Twitter](//twitter.com/nabijaczleweli/status/1344259847940943872).

## Special thanks


M src/lib.rs => src/lib.rs +3 -7
@@ 1081,7 1081,7 @@ pub enum SuperHInstruction {

    /// CAS.L Rm,Rn,@R0 (When a byte in Rn equals a byte in Rm, 1 → `T`) `0010nnnnmmmm0011`
    ///
    /// https://github.com/j-core/jcore-cpu/blob/00f398e4f29f5c35c96895ded728f8a8433d7b46/decode/decode_table_simple.vhd#L1919
    /// https://github.com/j-core/jcore-cpu/blob/00f398e/decode/decode_table_simple.vhd#L1919
    ///
    /// Features: J2
    /// Level: J2


@@ 1642,8 1642,7 @@ pub struct Displacement4(pub u8);
pub enum SuperHFeature {
    FPU,
    MMU,
    /// [`CAS.L`](https://github.com/j-core/jcore-cpu/blob/00f398e4f29f5c35c96895ded728f8a8433d7b46/decode/decode_table_simple.
    /// vhd#L1919)
    /// [`CAS.L`](https://github.com/j-core/jcore-cpu/blob/00f398e/decode/decode_table_simple.vhd#L1919)
    J2,
}



@@ 1934,10 1933,7 @@ impl<'f> Default for SuperHDecoder<'f> {


#[cfg(feature = "yaxpeax")]
pub enum SuperH<'f> {
    #[doc(hidden)]
    __(PhantomData<&'f ()>),
}
pub struct SuperH<'f>(PhantomData<&'f ()>);
#[cfg(feature = "yaxpeax")]
impl<'f> yaxpeax_arch::Arch for SuperH<'f> {
    type Address = u32;