diff options
author | Michael Pavone <pavone@retrodev.com> | 2019-01-28 21:15:27 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2019-01-28 21:15:27 -0800 |
commit | 8e5cb9d205e58ed143f058e0305748f363d440db (patch) | |
tree | f99b03b7da3453d36607e6de2e8dfbdf7e470a47 /ztestrun.c | |
parent | be5da8b8183d25dda735deca880c0bcee028aa52 (diff) |
Initial stab at overflow flag implementation in CPU DSL. Probably broken for subtraction
Diffstat (limited to 'ztestrun.c')
-rw-r--r-- | ztestrun.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -116,7 +116,7 @@ int main(int argc, char ** argv) printf("Flags: SZYHXVNC\n" " %d%d%d%d%d%d%d%d\n", context->last_flag_result >> 7, context->zflag != 0, context->last_flag_result >> 5 & 1, context->chflags >> 3 & 1, - context->last_flag_result >> 3 & 1, context->pvflag != 0, context->nflag, context->chflags >> 7 & 1 + context->last_flag_result >> 3 & 1, context->pvflag != 0, context->nflag != 0, context->chflags >> 7 & 1 ); puts("--Alternate Regs--"); printf("A: %X\nB: %X\nC: %X\nD: %X\nE: %X\nHL: %X\n", |