wok diff syslinux/stuff/iso2exe/mvcom.S @ rev 19827
syslinux/iso2exe: follow boot flag
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 08 15:32:40 2017 +0100 (2017-03-08) |
parents | 62104f2454a3 |
children |
line diff
1.1 --- a/syslinux/stuff/iso2exe/mvcom.S Mon Feb 22 21:29:18 2016 +0100 1.2 +++ b/syslinux/stuff/iso2exe/mvcom.S Wed Mar 08 15:32:40 2017 +0100 1.3 @@ -24,15 +24,15 @@ 1.4 rep 1.5 movsb 1.6 cld 1.7 - incw %di 1.8 - shrw $4, %di // 186 1.9 movw %cs, %ax 1.10 - addw %di, %ax 1.11 + movb $4, %cl 1.12 + shrw %cl, %di 1.13 + adcw %di, %ax 1.14 movw %ax, %ds 1.15 movw %ax, %es 1.16 + popw %dx 1.17 movw %ax, %ss 1.18 - popw %dx 1.19 - pushw %cx 1.20 + pushw %dx 1.21 pushw %ax 1.22 pushw %bx 1.23 retf