mirror of
https://github.com/ipxe/ipxe
synced 2026-02-28 03:11:18 +03:00
Why should pushal/popal put the registers on the stack in a logical
order?
This commit is contained in:
@@ -238,7 +238,7 @@ patch_16m:
|
|||||||
shrl $16, %ebx
|
shrl $16, %ebx
|
||||||
popfw
|
popfw
|
||||||
movw %sp, %bp
|
movw %sp, %bp
|
||||||
movw %bx, 24(%bp)
|
movw %bx, 16(%bp)
|
||||||
popal
|
popal
|
||||||
ret
|
ret
|
||||||
.size patch_16m, . - patch_16m
|
.size patch_16m, . - patch_16m
|
||||||
|
|||||||
Reference in New Issue
Block a user