From 7540086d5b75a52d8af9dfa697b45160c010d023 Mon Sep 17 00:00:00 2001 From: Astrid Smith Date: Sun, 3 Jul 2011 00:14:56 -0700 Subject: Space-saving idea? --- flags.asm | 9 ++++++++- instruction-timing.gnumeric | Bin 12410 -> 12420 bytes 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/flags.asm b/flags.asm index d856c07..786148e 100644 --- a/flags.asm +++ b/flags.asm @@ -209,7 +209,11 @@ flag_storage: ;; 2 if tmp_???b is valid ;; 3 if tmp_???w is valid f_tmp_byte: dc.b 0 - ;; 2 if P is 0, 3 if P is 1, 4 if P is Parity, 5 if P is oVerflow + + ;; 2 if P is 0 + ;; 3 if P is 1 + ;; 4 if P is uncalculated Parity + ;; 5 if P is uncalculated oVerflow f_tmp_p_type: dc.b 0 ;; byte operands @@ -297,4 +301,7 @@ lut_parity: dc.b 0,4,4,0,4,0,0,4,4,0,0,4,0,4,4,0 dc.b 4,0,0,4,0,4,4,0,0,4,4,0,4,0,0,4 + ;; To save space I might be able to overlay the Parity table + ;; with the CCR table, or even interleave it in the opcodes. + diff --git a/instruction-timing.gnumeric b/instruction-timing.gnumeric index 58a6f30..6bc3d17 100644 Binary files a/instruction-timing.gnumeric and b/instruction-timing.gnumeric differ -- cgit v1.2.3