Browse Source

avoid use of BP across video calls

Peter Ferrie 3 năm trước cách đây
mục cha
commit
7e8979fa7c
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. BIN
      bin/sectorlisp.bin
  2. 2 2
      sectorlisp.S

BIN
bin/sectorlisp.bin


+ 2 - 2
sectorlisp.S

@@ -60,7 +60,7 @@ GetToken:					# GetToken():al, dl is g_look
 	cmp	$' ',%al
 	jbe	2f
 	stosb
-	xchg	%ax,%bp
+	xchg	%ax,%si
 2:	call	GetChar				# exchanges dx and ax
 	cmp	$' ',%al
 	jbe	1b
@@ -69,7 +69,7 @@ GetToken:					# GetToken():al, dl is g_look
 	cmp	$')',%dl			# dl = g_look
 	ja	1b
 3:	movb	%bh,(%di)			# bh is zero
-	xchg	%bp,%ax
+	xchg	%si,%ax
 	ret
 
 .PrintList: