Changeset 369 in xtideuniversalbios for trunk/Assembly_Library/Src/Util
- Timestamp:
- Mar 29, 2012, 9:29:28 AM (13 years ago)
- google:author:
- gregli@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Src/Util/Size.asm
r142 r369 30 30 ; BX, DH 31 31 ;-------------------------------------------------------------------- 32 ALIGN JUMP_ALIGN32 ALIGN UTIL_SIZE_JUMP_ALIGN 33 33 Size_GetSizeToAXAndCharToDLfromBXDXAXwithMagnitudeInCX: 34 34 %ifndef USE_186 ; If 8086/8088 … … 37 37 push si 38 38 39 ALIGN JUMP_ALIGN39 ALIGN UTIL_SIZE_JUMP_ALIGN 40 40 .MagnitudeConversionLoop: 41 41 ePUSH_T di, .MagnitudeConversionLoop; DI corrupted only on 8086/8088 build … … 80 80 ; Nothing 81 81 ;-------------------------------------------------------------------- 82 ALIGN JUMP_ALIGN82 ALIGN UTIL_SIZE_JUMP_ALIGN 83 83 Size_DivideSizeInBXDXAXby1024andIncrementMagnitudeInCX: 84 84 push cx 85 85 xor si, si ; Zero remainder 86 86 mov cl, 10 ; Divide by 1024 87 ALIGN JUMP_ALIGN87 ALIGN UTIL_SIZE_JUMP_ALIGN 88 88 .ShiftLoop: 89 89 call Size_DivideBXDXAXbyTwo … … 107 107 ; Nothing 108 108 ;-------------------------------------------------------------------- 109 ALIGN JUMP_ALIGN109 ALIGN UTIL_SIZE_JUMP_ALIGN 110 110 Size_ConvertSectorCountInBXDXAXtoKiB: 111 111 Size_DivideBXDXAXbyTwo:
Note:
See TracChangeset
for help on using the changeset viewer.