dos/com&sys: correctly set carry bit by using "sub si,-xx" instead of "add si,xx"

This commit is contained in:
László Molnár
2006-11-06 17:54:37 +01:00
parent 387edcf4b2
commit 375f171e47
8 changed files with 905 additions and 894 deletions
+3 -2
View File
@@ -32,7 +32,6 @@ Idx Name Size VMA LMA File off Algn Flags
27 CALLTRI6 00000003 00000000 00000000 000000ee 2**0 CONTENTS, RELOC, READONLY
28 CORETURN 00000001 00000000 00000000 000000f1 2**0 CONTENTS, READONLY
SYMBOL TABLE:
00000000 l d COMCUTPO 00000000 COMCUTPO
00000000 l d NRV2B160 00000000 NRV2B160
00000000 l d NRVDECO2 00000000 NRVDECO2
00000000 l d CALLTR16 00000000 CALLTR16
@@ -44,6 +43,7 @@ SYMBOL TABLE:
00000000 l d COMCALLT 00000000 COMCALLT
00000000 l d COMMAIN2 00000000 COMMAIN2
00000000 l d UPX1HEAD 00000000 UPX1HEAD
00000000 l d COMCUTPO 00000000 COMCUTPO
00000000 l d NRVDDONE 00000000 NRVDDONE
00000000 l d NRVDRETU 00000000 NRVDRETU
00000000 l d NRVDECO1 00000000 NRVDECO1
@@ -65,6 +65,7 @@ SYMBOL TABLE:
00000000 *UND* 00000000 bytes_to_copy
00000000 *UND* 00000000 copy_source
00000000 *UND* 00000000 copy_destination
00000000 *UND* 00000000 neg_e_len
00000000 *UND* 00000000 calltrick_calls
RELOCATION RECORDS FOR [COMMAIN1]:
@@ -73,7 +74,7 @@ OFFSET TYPE VALUE
00000009 R_386_16 bytes_to_copy
0000000c R_386_16 copy_source
0000000f R_386_16 copy_destination
0000001c R_386_8 COMCUTPO
0000001c R_386_8 neg_e_len
RELOCATION RECORDS FOR [COMMAIN2]:
OFFSET TYPE VALUE
+3 -2
View File
@@ -38,7 +38,6 @@ Idx Name Size VMA LMA File off Algn Flags
33 SYSJUMP1 00000003 00000000 00000000 00000105 2**0 CONTENTS, RELOC, READONLY
SYMBOL TABLE:
00000000 l d SYSMAIN1 00000000 SYSMAIN1
00000000 l d SYSCUTPO 00000000 SYSCUTPO
00000000 l d NRV2B160 00000000 NRV2B160
00000000 l d NRVDECO2 00000000 NRVDECO2
00000000 l d CALLTR16 00000000 CALLTR16
@@ -51,6 +50,7 @@ SYMBOL TABLE:
00000000 l d SYSCALLT 00000000 SYSCALLT
00000000 l d SYSMAIN3 00000000 SYSMAIN3
00000000 l d UPX1HEAD 00000000 UPX1HEAD
00000000 l d SYSCUTPO 00000000 SYSCUTPO
00000000 l d NRVDDONE 00000000 NRVDDONE
00000000 l d NRVDRETU 00000000 NRVDRETU
00000000 l d NRVDECO1 00000000 NRVDECO1
@@ -75,6 +75,7 @@ SYMBOL TABLE:
00000000 *UND* 00000000 interrupt
00000000 *UND* 00000000 copy_source
00000000 *UND* 00000000 copy_destination
00000000 *UND* 00000000 neg_e_len
00000000 *UND* 00000000 calltrick_calls
00000000 *UND* 00000000 original_strategy
@@ -88,7 +89,7 @@ RELOCATION RECORDS FOR [SYSMAIN2]:
OFFSET TYPE VALUE
00000001 R_386_16 copy_source
00000004 R_386_16 copy_destination
00000016 R_386_8 SYSCUTPO
00000016 R_386_8 neg_e_len
RELOCATION RECORDS FOR [SYSMAIN3]:
OFFSET TYPE VALUE