Add enums for condition codes.

The icmp and fmp instructions use different kinds of condition codes because
integers and floating point values behave differently.

Add a CondCode trait implementing shared behavior.
This commit is contained in:
Jakob Stoklund Olesen
2016-07-06 15:02:12 -07:00
parent a6c1362975
commit 90bb2fd27d
2 changed files with 326 additions and 0 deletions

View File

@@ -8,6 +8,7 @@
pub const VERSION: &'static str = env!("CARGO_PKG_VERSION");
pub mod types;
pub mod condcodes;
pub mod immediates;
pub mod entities;
pub mod instructions;