1
0
mirror of https://github.com/open-simh/simh.git synced 2026-02-14 03:54:43 +00:00
Files
open-simh.simh/NOVA/nova_cpu.c
Samuel Deutsch 83d35a26aa NOVA: Fix carry display in CPU instruction history
Problem: Currently when viewing the Nova CPU history the carry flag is always
displayed as 0 regardless of it's actual value at the time.

Cause: The carry bit is stored in bit 17 and is lost when stored into the
int16 carry member of struct Hist_entry

Solution: Shift carry into bit 0 before storing it in the CPU history.
Improve code for displaying carry bit.
2020-09-26 17:57:17 -04:00

60 KiB