Commit Graph

20 Commits

Author SHA1 Message Date
a40802a84c Fixed load and store basic instruction being presented wrong. 2021-01-11 13:02:35 +00:00
affd7034e6 Added pseudo::Decodable trait for decoding pseudo instructions. 2021-01-10 15:01:16 +00:00
543283f04f Added dcb_util::DisplayWrapper and now using it in dcb-exe. 2021-01-10 14:03:03 +00:00
c04eb2245a Changed all Encodable::encode impl declarations to be consistent. 2021-01-09 15:57:11 +00:00
00bcbd1422 Revised inst::basic's documentation and added an extra indirection with basic::Raw. 2021-01-09 15:43:33 +00:00
88db3def6f Removed the dcb-exe::exe::raw module (from last commit).
Moved `InstFmt` to it's own module.
2021-01-09 15:07:28 +00:00
c0b1ee4fc5 Revised documentation in dcb-exe::exe::inst. 2021-01-09 15:01:01 +00:00
764628e691 Revised dcb_exe::exe::pos's impls.
Ran `cargo fmt` on the whole project.
2021-01-09 14:37:15 +00:00
21a0d7a4cb Revised documentation for dcb-exe::exe. 2021-01-09 14:19:44 +00:00
2f4aea7eec Revised documentation and lints for dcb-exe/lib.rs.
Fixed formatting in `mult::Inst`'s `InstFmt::fmt` impl.
2021-01-09 13:45:02 +00:00
c0b2fd8c62 Added FuncTable and Func back to dcb-exe.
Added an iterator over function, data and misc (`ExeItem`) for the executable.
2021-01-09 12:34:43 +00:00
854d90858e Fixed basic::Inst not decoding everything correctly. 2021-01-08 17:43:06 +00:00
5ad6f6cb5e Added basic::shift instruction. 2021-01-08 16:15:28 +00:00
058da819ee Implemented InstFmt for pseudo::Inst and Directive.
Renamed `PseudoInst` to `Inst`.
2021-01-08 15:53:35 +00:00
0483c63bfd Added new InstFmt trait for formatting instructions. 2021-01-08 15:26:43 +00:00
979deae4c3 Moved ParseIter to it's own file. 2021-01-08 14:37:28 +00:00
7c196ec4a9 Added dcb_exe::exe::inst::basic::{Decodable, Encodable}. 2021-01-08 14:33:49 +00:00
48e29ec83c Revamped most things.
Honstly not sure what's happened, but `dcb-exe` is mostly being redone from scratch.
2021-01-08 13:39:50 +00:00
c78822db7e Improved dcb-exe slightly, now gets compiled. 2020-11-11 20:07:12 +00:00
38ea8db1db Split dcb into dcb-io, dcb-exe, dcb-util and dcb.
Also worked on `dcb-exe` slightly, but still not fully supported.
2020-11-11 17:56:37 +00:00