Jelajahi Sumber

avoid use of BP across video calls

Peter Ferrie 3 tahun lalu
induk
melakukan
7e8979fa7c
2 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. TEMPAT SAMPAH
      bin/sectorlisp.bin
  2. 2 2
      sectorlisp.S

TEMPAT SAMPAH
bin/sectorlisp.bin


+ 2 - 2
sectorlisp.S

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