BIOS: Fixed lslul helper function similar to lsrul.
This commit is contained in:
parent
49736ddcf0
commit
4d5d31170c
@ -27,6 +27,10 @@ Detailed change log :
|
||||
- Networking
|
||||
- Added support for using libslirp library instead of builtin slirp code
|
||||
|
||||
- BIOS
|
||||
- Added panic in legacy BIOS in case no VGA BIOS ROM is found at C000:0000,
|
||||
- Fixed unwanted side effected caused by some helper functions.
|
||||
|
||||
- Misc
|
||||
- bximage: added simple partition table viewer to the info function
|
||||
|
||||
|
Binary file not shown.
Binary file not shown.
@ -536,17 +536,15 @@ typedef unsigned long Bit32u;
|
||||
;; sl function
|
||||
lsll:
|
||||
lslul:
|
||||
mov cx,di
|
||||
push ecx
|
||||
mov cx, di
|
||||
jcxz lsl_exit
|
||||
and eax, #0x0000FFFF
|
||||
shl ebx, #16
|
||||
or eax, ebx
|
||||
lsl_loop:
|
||||
shl eax, #1
|
||||
shl ax, #1
|
||||
rcl bx, #1
|
||||
loop lsl_loop
|
||||
mov ebx, eax
|
||||
shr ebx, #16
|
||||
lsl_exit:
|
||||
pop ecx
|
||||
ret
|
||||
|
||||
idiv_:
|
||||
|
Loading…
Reference in New Issue
Block a user