Changeset 445 in xtideuniversalbios for trunk/Assembly_Library/Inc
- Timestamp:
- Aug 29, 2012, 12:59:23 PM (12 years ago)
- google:author:
- krille_n_@hotmail.com
- Location:
- trunk/Assembly_Library/Inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Inc/Emulate.inc
r420 r445 465 465 eSHIFT_IM %1, %2, shr 466 466 %endmacro 467 467 468 %macro eSHL_IM 2 469 %ifdef USE_386 470 %if %2 = 1 471 add %1, %1 ; Same size but faster on 386 and 486. Fails if %1 is a memory operand. 472 %else 473 eSHIFT_IM %1, %2, shl 474 %endif 475 %else 468 476 eSHIFT_IM %1, %2, shl 469 %endmacro 477 %endif 478 %endmacro 479 470 480 %macro eROR_IM 2 471 481 eSHIFT_IM %1, %2, ror 472 482 %endmacro 483 473 484 %macro eROL_IM 2 474 485 eSHIFT_IM %1, %2, rol 475 486 %endmacro 487 476 488 %macro eRCR_IM 2 477 489 eSHIFT_IM %1, %2, rcr 478 490 %endmacro 491 479 492 %macro eRCL_IM 2 480 493 eSHIFT_IM %1, %2, rcl -
trunk/Assembly_Library/Inc/Math.inc
r287 r445 79 79 ALIGN JUMP_ALIGN 80 80 .ShiftNextBit: 81 shlax, 181 eSHL_IM ax, 1 82 82 rcl dx, 1 83 83 loop .ShiftNextBit
Note:
See TracChangeset
for help on using the changeset viewer.