diff options
author | Paul Duncan <pabs@pablotron.org> | 2018-06-26 10:31:40 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2018-06-26 10:31:40 -0400 |
commit | 4102f29581a937f68449c309d7a0e7cb161582d2 (patch) | |
tree | 676fe00088ce2c4ab906596af056d9686d31f963 | |
parent | 2994a7c6a45876b28f30864982244bbd21dc4a57 (diff) | |
download | gb-c-4102f29581a937f68449c309d7a0e7cb161582d2.tar.xz gb-c-4102f29581a937f68449c309d7a0e7cb161582d2.zip |
fix H and C flags in add_rw_rw()
-rw-r--r-- | ops.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -9290,8 +9290,8 @@ templates: // set flags cpu_wf(ctx, F_N | F_H | F_C, ( - ((((dst_val & 0xFF) + (src_val & 0xFF)) > 0xFF) ? F_H : 0) | - ((n == 0x10000) ? F_C : 0) + ((((dst_val & 0xFFF) + (src_val & 0xFFF)) > 0xFFF) ? F_H : 0) | + ((n > 0xFFFF) ? F_C : 0) )); } |