summaryrefslogtreecommitdiff
path: root/src/arm32/instruction_codec/test.rs
AgeCommit message (Collapse)Author
2024-06-19Document assert_or_err; Add docs logo; Restructure tests; Bump minor; Update ↵0.5.0Gabriel Bjørnager Jensen
lints; Add new errors: IllegalFlag, IllegalShifter, InvalidOpcode, UnknownMnemonic; Update readme; Update documentation; Improve diagnostics. Arm32: Encode more instructions for Thumb; Make InstructionCodec::encode_thumb return tuple; Add new instructions: Test, TestEquivalence, UnsignedSaturate, PreloadData, BranchLinkExchange, Swap, Load, Store; Rework Flag; Add Address type; Add as_register method to Shifter; Add skip_words, skip_halfwords, and skib_bytes methods to InstructionCodec; Add from_register method to Shifter; Add Thumb decoding to InstructionCodec; Add from_u8 method to Predicate; Add from_u8 method to Register; Implement FromStr for Instruction; Add new Sflag, Bflag, and Tflag flags; Add seek_to method to InstructionCodec.
2024-06-15Bump minor; Add arm32::InstructionCodec; Remove arm32::Unsigned and ↵0.3.0Gabriel Bjørnager Jensen
arm32::Signed; Add SIZE constant to arm32::ArmOpcode and arm32::ThumbOpcode; Implement From<u32> and Into<u32> for ArmOpcode; Implement From<u16> and Into<u16> for ThumbOpcode; Update documentation; Add new Arm32 instructions: AddCarry, And, BitClear, CountLeadingZeroes, CompareNegated Compare, ExclusiveOr, MultiplyAccumulate, Multiply, InclusiveOr, SaturatingAdd, SaturatingSubtract, Reverse, ReverseSubtract, ReverseSubtractCarry, Subtract, SubtractCarry,; Rename MoveNegated in arm32::Instruction to MoveNot; Implement Into<bool>, Into<u8>, Into<u16>, Into<u32>, Into<u64>, Into<u128>, and Into<usize> for Flag; Implement From<bool> for Flag;