summaryrefslogtreecommitdiff
path: root/flags.asm
diff options
context:
space:
mode:
authorAstrid Smith2011-07-03 00:14:56 -0700
committerAstrid Smith2011-07-03 00:14:56 -0700
commit7540086d5b75a52d8af9dfa697b45160c010d023 (patch)
tree7863797a9caa9c995980b549c1f735d620c194b3 /flags.asm
parentc83b5099e32cc31f8bb50d3023414325b003701e (diff)
Space-saving idea?
Diffstat (limited to 'flags.asm')
-rw-r--r--flags.asm9
1 files changed, 8 insertions, 1 deletions
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.
+