diff options
| author | Astrid Smith | 2010-07-02 14:05:51 -0700 |
|---|---|---|
| committer | Astrid Smith | 2010-07-02 14:05:51 -0700 |
| commit | e93c37cdd00300abc6b12c014bd910a71b7463ab (patch) | |
| tree | c7f30ab9c698fb2fd60d0240a5402c9c449eaa0b | |
| parent | 372e2ac5356de4e4c3b9ae931d19a9cf568bd2a6 (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. |
