diff options
| author | Duncan Smith | 2010-07-02 14:05:51 -0700 |
|---|---|---|
| committer | Duncan Smith | 2010-07-02 14:05:51 -0700 |
| commit | e8fa5ad889869095cc82c19705e479480bd98e1e (patch) | |
| tree | a933fad405d133a10ccd22e6e46eea38725d9b43 | |
| parent | 2f926dbc6194c3b4f9a28d8f2572f912cf538bf0 (diff) | |
Temporary fixes for alignment issues
| -rw-r--r-- | alu.asm | 3 | ||||
| -rw-r--r-- | flags.asm | 3 |
2 files changed, 4 insertions, 2 deletions
@@ -43,7 +43,8 @@ alu_sbc: move.b d1,(f_tmp_dst_b-flag_storage)(a3) sub.b d2,d1 move sr,(f_host_sr-flag_storage)(a3) - move.w #$0202,(flag_byte-flag_storage)(a3) + move.b #$02,(flag_byte-flag_storage)(a3) + move.b #$02,(flag_valid-flag_storage)(a3) pop.l d2 rts @@ -193,6 +193,7 @@ flags_all: bsr f_calc_carries rts + EVEN flag_storage: ;; 0 if the flag is already valid ;; 2 if tmp_???b is valid @@ -215,7 +216,7 @@ f_tmp_result_w: dc.w 0 EVEN ;; DO NOT REARRANGE THESE f_host_sr: dc.w 0 -f_host_ccr: dc.b 0 +f_host_ccr: dc.b 0 ;XXX make overlap somehow? EVEN ;; DO NOT REARRANGE THESE. |
