diff options
| author | Astrid Smith | 2010-06-18 16:50:53 -0700 |
|---|---|---|
| committer | Astrid Smith | 2010-06-18 16:50:53 -0700 |
| commit | 2bf3a98e76b633b1274360a21ce7c49ae9719b2b (patch) | |
| tree | 015350c9be19cbf58ab24e2e8031679abda0d50e /flags.asm | |
| parent | 166e7b68e370c1d94a7dcadf95d9fc2485fa6d54 (diff) | |
Fixed that, dc.w is NOT the same as ds.w.
Diffstat (limited to 'flags.asm')
| -rw-r--r-- | flags.asm | 26 |
1 files changed, 13 insertions, 13 deletions
@@ -112,31 +112,31 @@ flag_storage: ;; Numbers in comments are offsets from flag_storage, so use ;; offset(a3) to address. ;; 1 if tmp_???b is valid, 0 if tmp_???w is valid -f_tmp_byte: ds.b 0 ; 0 +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 -f_tmp_p_type: ds.b 0 ; 1 +f_tmp_p_type: dc.b 0 ;; byte operands -f_tmp_src_b: ds.b 0 ; 2 -f_tmp_dst_b: ds.b 0 ; 3 -f_tmp_result_b: ds.b 0 ; 4 +f_tmp_src_b: dc.b 0 +f_tmp_dst_b: dc.b 0 +f_tmp_result_b: dc.b 0 EVEN -f_tmp_src_w: ds.w 0 ; 6 -f_tmp_dst_w: ds.w 0 ; 8 -f_tmp_result_w: ds.w 0 ; 10 +f_tmp_src_w: dc.w 0 +f_tmp_dst_w: dc.w 0 +f_tmp_result_w: dc.w 0 -flag_n: ds.w 0 ; 12 +flag_n: dc.w 0 ;; 000XNZVC EVEN ; Compositing a word from two bytes ... -f_host_sr: ds.b 0 ; 14 -f_host_ccr: ds.b 0 ; 15 +f_host_sr: dc.b 0 +f_host_ccr: dc.b 0 EVEN ;; DO NOT REARRANGE THESE. -flag_byte: ds.b 0 ; 16 Byte of all flags -flag_valid: ds.b 0 ; 17 Validity mask -- 1 if valid. +flag_byte: dc.b 0 ; Byte of all flags +flag_valid: dc.b 0 ; Validity mask -- 1 if valid. ;; LUT for the CCR -> F mapping lut_ccr: |
