Diff for /np2/i286a/i286a_sf.s between versions 1.5 and 1.8

version 1.5, 2003/12/19 00:25:49 version 1.8, 2004/07/17 20:43:02
Line 18 Line 18
   
         AREA    .text, CODE, READONLY          AREA    .text, CODE, READONLY
   
 i286asft8_1             GETPC8  i286asft8_1             GETPCF8
                                 and             r6, r0, #(7 << 3)                                  and             r6, r0, #(7 << 3)
                                 cmp             r0, #&c0                                  cmp             r0, #&c0
                                 bcc             sft8m                                  bcc             sft8m
Line 113  sar_e8_1  SAR8 r0 Line 113  sar_e8_1  SAR8 r0
   
 ; ----  ; ----
   
 i286asft16_1    GETPC8  i286asft16_1    GETPCF8
                                 and             r6, r0, #(7 << 3)                                  and             r6, r0, #(7 << 3)
                                 cmp             r0, #&c0                                  cmp             r0, #&c0
                                 bcc             sft16m                                  bcc             sft16m
Line 125  i286asft16_1 GETPC8 Line 125  i286asft16_1 GETPC8
                                 ldr             pc, [r1, r6 lsr #1]                                  ldr             pc, [r1, r6 lsr #1]
 sft16m                  CPUWORK #7  sft16m                  CPUWORK #7
                                 bl              i286a_ea                                  bl              i286a_ea
                                 tst             r0, #1                                  ACCWORD r0, sft16e
                                 bne             sft16e  
                                 cmp             r0, #I286_MEMWRITEMAX  
                                 bcs             sft16e  
                                 add             r5, r9, r0                                  add             r5, r9, r0
                                 adr             r1, sft_reg16                                  adr             r1, sft_reg16
                                 ldrh    r4, [r5]                                  ldrh    r4, [r5]
Line 210  sar_e16_1  SAR16 r0 Line 207  sar_e16_1  SAR16 r0
   
 ; ----  ; ----
   
 i286asft8_cl    GETPC8  i286asft8_cl    GETPCF8
                                 and             r6, r0, #(7 << 3)                                  and             r6, r0, #(7 << 3)
                                 cmp             r0, #&c0                                  cmp             r0, #&c0
                                 bcc             sft8clm                                  bcc             sft8clm
Line 242  sft8cle   ldrb r4, [r9, #CPU_CL] Line 239  sft8cle   ldrb r4, [r9, #CPU_CL]
                                 adr             r1, sft_ext8cl                                  adr             r1, sft_ext8cl
                                 ldr             pc, [r1, r6 lsr #1]                                  ldr             pc, [r1, r6 lsr #1]
   
 i286asft8_d8    GETPC8  i286asft8_d8    GETPCF8
                                 and             r6, r0, #(7 << 3)                                  and             r6, r0, #(7 << 3)
                                 cmp             r0, #&c0                                  cmp             r0, #&c0
                                 bcc             sft8d8m                                  bcc             sft8d8m
Line 347  sar_e8_cl  SAR8CL r0, r4 Line 344  sar_e8_cl  SAR8CL r0, r4
   
 ; ----  ; ----
   
 i286asft16_cl   GETPC8  i286asft16_cl   GETPCF8
                                 and             r6, r0, #(7 << 3)                                  and             r6, r0, #(7 << 3)
                                 cmp             r0, #&c0                                  cmp             r0, #&c0
                                 bcc             sft16clm                                  bcc             sft16clm
Line 363  i286asft16_cl GETPC8 Line 360  i286asft16_cl GETPC8
                                 ldr             pc, [r1, r6 lsr #1]                                  ldr             pc, [r1, r6 lsr #1]
 sft16clm                CPUWORK #8  sft16clm                CPUWORK #8
                                 bl              i286a_ea                                  bl              i286a_ea
                                 tst             r0, #1                                  ACCWORD r0, sft16cle
                                 bne             sft16cle  
                                 cmp             r0, #I286_MEMWRITEMAX  
                                 bcs             sft16cle  
                                 add             r5, r9, r0                                  add             r5, r9, r0
                                 ldrb    r0, [r9, #CPU_CL]                                  ldrb    r0, [r9, #CPU_CL]
                                 ands    r0, r0, #&1f                                  ands    r0, r0, #&1f
Line 384  sft16cle  ldrb r4, [r9, #CPU_CL] Line 378  sft16cle  ldrb r4, [r9, #CPU_CL]
                                 adr             r1, sft_ext16cl                                  adr             r1, sft_ext16cl
                                 ldr             pc, [r1, r6 lsr #1]                                  ldr             pc, [r1, r6 lsr #1]
   
 i286asft16_d8   GETPC8  i286asft16_d8   GETPCF8
                                 and             r6, r0, #(7 << 3)                                  and             r6, r0, #(7 << 3)
                                 cmp             r0, #&c0                                  cmp             r0, #&c0
                                 bcc             sft16d8m                                  bcc             sft16d8m
Line 400  i286asft16_d8 GETPC8 Line 394  i286asft16_d8 GETPC8
                                 ldr             pc, [r1, r6 lsr #1]                                  ldr             pc, [r1, r6 lsr #1]
 sft16d8m                CPUWORK #8  sft16d8m                CPUWORK #8
                                 bl              i286a_ea                                  bl              i286a_ea
                                 tst             r0, #1                                  ACCWORD r0, sft16d8e
                                 bne             sft16d8e  
                                 cmp             r0, #I286_MEMWRITEMAX  
                                 bcs             sft16d8e  
                                 add             r5, r9, r0                                  add             r5, r9, r0
                                 GETPC8                                  GETPC8
                                 ands    r0, r0, #&1f                                  ands    r0, r0, #&1f

Removed from v.1.5  
changed lines
  Added in v.1.8


RetroPC.NET-CVS <cvs@retropc.net>