summaryrefslogtreecommitdiff
path: root/src/arm32/instruction/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 version; Add logo; Add more errors; Add macro assert_or_err; ↵0.4.0Gabriel Bjørnager Jensen
Document errors; Remove Arch. Arm32: Add encode_thumb method to InstructionCodec; Add is_low and is_high methods to Register; Implement FromStr for Register; Rename Sb, Sl, and Ip in Register to R9, R10, and R12; Display instruction synonyms; Document Flag. Arm64: Add module.
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;
2024-06-13Bump minor; Update copyright years; Add new Arm32 instructions: ↵0.2.0Gabriel Bjørnager Jensen
SoftwareInterrupt, Move, BranchExchange, Breakpoint, MoveNegated, Add; Derive more; Add arm32::Flag, arm32::Unsigned, and arm32::Signed types; Add instruction encoder (currently only for Arm); Add arm32::ArmOpcode and arm32::ThumbOpcode types; Rename arm32::Address to arm32::Shifter; Add Error type; Rework instructions; Update readme; Rename arm32::Condition to arm32::Predicate; Update documentation;
2024-06-11Bump minor; Add arm32 module; Add arm32::Address type; Add arm32::Condition ↵0.1.0Gabriel Bjørnager Jensen
type; Add new ARM32 instructions: BranchLink; Add tests; Use alloc; Add Arch type;