mirror of
https://github.com/icedland/iced.git
synced 2025-02-26 20:45:47 +00:00
Update READMEs
This commit is contained in:
parent
02ecee0a4f
commit
f3c7575217
@ -841,6 +841,7 @@ function rflagsBitsToString(value) {
|
|||||||
if ((value & RflagsBits.DF) !== 0) { sb = append(sb, "DF"); }
|
if ((value & RflagsBits.DF) !== 0) { sb = append(sb, "DF"); }
|
||||||
if ((value & RflagsBits.IF) !== 0) { sb = append(sb, "IF"); }
|
if ((value & RflagsBits.IF) !== 0) { sb = append(sb, "IF"); }
|
||||||
if ((value & RflagsBits.AC) !== 0) { sb = append(sb, "AC"); }
|
if ((value & RflagsBits.AC) !== 0) { sb = append(sb, "AC"); }
|
||||||
|
if ((value & RflagsBits.UIF) !== 0) { sb = append(sb, "UIF"); }
|
||||||
if (sb.length === 0)
|
if (sb.length === 0)
|
||||||
return "<empty>";
|
return "<empty>";
|
||||||
return sb;
|
return sb;
|
||||||
|
@ -999,6 +999,9 @@ fn flags(rf: u32) -> String {
|
|||||||
if (rf & RflagsBits::AC) != 0 {
|
if (rf & RflagsBits::AC) != 0 {
|
||||||
append(&mut sb, "AC");
|
append(&mut sb, "AC");
|
||||||
}
|
}
|
||||||
|
if (rf & RflagsBits::UIF) != 0 {
|
||||||
|
append(&mut sb, "UIF");
|
||||||
|
}
|
||||||
if sb.is_empty() {
|
if sb.is_empty() {
|
||||||
sb.push_str("<empty>");
|
sb.push_str("<empty>");
|
||||||
}
|
}
|
||||||
|
@ -1022,6 +1022,9 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||||||
//! if (rf & RflagsBits::AC) != 0 {
|
//! if (rf & RflagsBits::AC) != 0 {
|
||||||
//! append(&mut sb, "AC");
|
//! append(&mut sb, "AC");
|
||||||
//! }
|
//! }
|
||||||
|
//! if (rf & RflagsBits::UIF) != 0 {
|
||||||
|
//! append(&mut sb, "UIF");
|
||||||
|
//! }
|
||||||
//! if sb.is_empty() {
|
//! if sb.is_empty() {
|
||||||
//! sb.push_str("<empty>");
|
//! sb.push_str("<empty>");
|
||||||
//! }
|
//! }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user