Changeset 22528 in vbox for trunk/src/recompiler/VBoxREMWrapperA.asm
- Timestamp:
- Aug 27, 2009 2:05:09 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/VBoxREMWrapperA.asm
r22527 r22528 304 304 sub rsp, 40h 305 305 306 mov r11, [ ebp + 10h]306 mov r11, [rbp + 10h] 307 307 mov [rsp + 30h], r11 308 308 mov [rsp + 28h], r9 … … 331 331 sub rsp, 40h 332 332 333 mov r10, [ ebp + 18h]333 mov r10, [rbp + 18h] 334 334 mov [rsp + 38h], r10 335 mov r11, [ ebp + 10h]335 mov r11, [rbp + 10h] 336 336 mov [rsp + 30h], r11 337 337 mov [rsp + 28h], r9 … … 360 360 sub rsp, 50h 361 361 362 mov rax, [ ebp + 20h]362 mov rax, [rbp + 20h] 363 363 mov [rsp + 40h], rax 364 mov r10, [ ebp + 18h]364 mov r10, [rbp + 18h] 365 365 mov [rsp + 38h], r10 366 mov r11, [ ebp + 10h]366 mov r11, [rbp + 10h] 367 367 mov [rsp + 30h], r11 368 368 mov [rsp + 28h], r9 … … 391 391 sub rsp, 50h 392 392 393 mov r11, [ ebp + 28h]393 mov r11, [rbp + 28h] 394 394 mov [rsp + 48h], r11 395 mov rax, [ ebp + 20h]395 mov rax, [rbp + 20h] 396 396 mov [rsp + 40h], rax 397 mov r10, [ ebp + 18h]397 mov r10, [rbp + 18h] 398 398 mov [rsp + 38h], r10 399 mov r11, [ ebp + 10h]399 mov r11, [rbp + 10h] 400 400 mov [rsp + 30h], r11 401 401 mov [rsp + 28h], r9 … … 424 424 sub rsp, 60h 425 425 426 mov r10, [ ebp + 30h]426 mov r10, [rbp + 30h] 427 427 mov [rsp + 50h], r10 428 mov r11, [ ebp + 28h]428 mov r11, [rbp + 28h] 429 429 mov [rsp + 48h], r11 430 mov rax, [ ebp + 20h]430 mov rax, [rbp + 20h] 431 431 mov [rsp + 40h], rax 432 mov r10, [ ebp + 18h]432 mov r10, [rbp + 18h] 433 433 mov [rsp + 38h], r10 434 mov r11, [ ebp + 10h]434 mov r11, [rbp + 10h] 435 435 mov [rsp + 30h], r11 436 436 mov [rsp + 28h], r9 … … 459 459 sub rsp, 60h 460 460 461 mov rax, [ ebp + 28h]461 mov rax, [rbp + 28h] 462 462 mov [rsp + 48h], rax 463 mov r10, [ ebp + 30h]463 mov r10, [rbp + 30h] 464 464 mov [rsp + 50h], r10 465 mov r11, [ ebp + 28h]465 mov r11, [rbp + 28h] 466 466 mov [rsp + 48h], r11 467 mov rax, [ ebp + 20h]467 mov rax, [rbp + 20h] 468 468 mov [rsp + 40h], rax 469 mov r10, [ ebp + 18h]469 mov r10, [rbp + 18h] 470 470 mov [rsp + 38h], r10 471 mov r11, [ ebp + 10h]471 mov r11, [rbp + 10h] 472 472 mov [rsp + 30h], r11 473 473 mov [rsp + 28h], r9 … … 672 672 mov rbp, rsp 673 673 sub rsp, 10h 674 mov [ ebp - 10h], rsi675 mov [ ebp - 18h], rdi676 677 %ifdef USE_DIRECT_CALLS 678 call $+5+REM_FIXUP_32_REAL_STUFF 679 %else 680 mov rax, REM_FIXUP_64_REAL_STUFF 681 call rax 682 %endif 683 684 mov rdi, [ ebp - 18h]685 mov rsi, [ ebp - 10h]674 mov [rbp - 10h], rsi 675 mov [rbp - 18h], rdi 676 677 %ifdef USE_DIRECT_CALLS 678 call $+5+REM_FIXUP_32_REAL_STUFF 679 %else 680 mov rax, REM_FIXUP_64_REAL_STUFF 681 call rax 682 %endif 683 684 mov rdi, [rbp - 18h] 685 mov rsi, [rbp - 10h] 686 686 leave 687 687 LOG_EXIT … … 695 695 mov rbp, rsp 696 696 sub rsp, 20h 697 mov [ ebp - 10h], rsi698 mov [ ebp - 18h], rdi697 mov [rbp - 10h], rsi 698 mov [rbp - 18h], rdi 699 699 700 700 mov rdi, rcx … … 706 706 %endif 707 707 708 mov rdi, [ ebp - 18h]709 mov rsi, [ ebp - 10h]708 mov rdi, [rbp - 18h] 709 mov rsi, [rbp - 10h] 710 710 leave 711 711 LOG_EXIT … … 719 719 mov rbp, rsp 720 720 sub rsp, 20h 721 mov [ ebp - 10h], rsi722 mov [ ebp - 18h], rdi721 mov [rbp - 10h], rsi 722 mov [rbp - 18h], rdi 723 723 724 724 mov rdi, rcx … … 731 731 %endif 732 732 733 mov rdi, [ ebp - 18h]734 mov rsi, [ ebp - 10h]733 mov rdi, [rbp - 18h] 734 mov rsi, [rbp - 10h] 735 735 leave 736 736 LOG_EXIT … … 744 744 mov rbp, rsp 745 745 sub rsp, 20h 746 mov [ ebp - 10h], rsi747 mov [ ebp - 18h], rdi746 mov [rbp - 10h], rsi 747 mov [rbp - 18h], rdi 748 748 749 749 mov rdi, rcx … … 752 752 call $+5+REM_FIXUP_32_REAL_STUFF 753 753 754 mov rdi, [ ebp - 18h]755 mov rsi, [ ebp - 10h]754 mov rdi, [rbp - 18h] 755 mov rsi, [rbp - 10h] 756 756 leave 757 757 LOG_EXIT … … 765 765 mov rbp, rsp 766 766 sub rsp, 20h 767 mov [ ebp - 10h], rsi768 mov [ ebp - 18h], rdi767 mov [rbp - 10h], rsi 768 mov [rbp - 18h], rdi 769 769 770 770 mov rdi, rcx … … 774 774 call $+5+REM_FIXUP_32_REAL_STUFF 775 775 776 mov rdi, [ ebp - 18h]777 mov rsi, [ ebp - 10h]776 mov rdi, [rbp - 18h] 777 mov rsi, [rbp - 10h] 778 778 leave 779 779 LOG_EXIT … … 787 787 mov rbp, rsp 788 788 sub rsp, 20h 789 mov [ ebp - 10h], rsi790 mov [ ebp - 18h], rdi789 mov [rbp - 10h], rsi 790 mov [rbp - 18h], rdi 791 791 792 792 mov rdi, rcx … … 794 794 mov rdx, r8 795 795 mov rcx, r9 796 mov r8, [ ebp + 30h]797 call $+5+REM_FIXUP_32_REAL_STUFF 798 799 mov rdi, [ ebp - 18h]800 mov rsi, [ ebp - 10h]796 mov r8, [rbp + 30h] 797 call $+5+REM_FIXUP_32_REAL_STUFF 798 799 mov rdi, [rbp - 18h] 800 mov rsi, [rbp - 10h] 801 801 leave 802 802 LOG_EXIT … … 810 810 mov rbp, rsp 811 811 sub rsp, 20h 812 mov [ ebp - 10h], rsi813 mov [ ebp - 18h], rdi812 mov [rbp - 10h], rsi 813 mov [rbp - 18h], rdi 814 814 815 815 mov rdi, rcx … … 817 817 mov rdx, r8 818 818 mov rcx, r9 819 mov r8, [ ebp + 30h]820 mov r9, [ ebp + 38h]821 call $+5+REM_FIXUP_32_REAL_STUFF 822 823 mov rdi, [ ebp - 18h]824 mov rsi, [ ebp - 10h]819 mov r8, [rbp + 30h] 820 mov r9, [rbp + 38h] 821 call $+5+REM_FIXUP_32_REAL_STUFF 822 823 mov rdi, [rbp - 18h] 824 mov rsi, [rbp - 10h] 825 825 leave 826 826 LOG_EXIT … … 834 834 mov rbp, rsp 835 835 sub rsp, 30h 836 mov [ ebp - 10h], rsi ;; @todo wtf is this using ebp instead of rbp?837 mov [ ebp - 18h], rdi836 mov [rbp - 10h], rsi 837 mov [rbp - 18h], rdi 838 838 839 839 mov rdi, rcx … … 841 841 mov rdx, r8 842 842 mov rcx, r9 843 mov r8, [ ebp + 30h]844 mov r9, [ ebp + 38h]845 mov r10, [ ebp + 40h]846 mov [ esp], r10847 call $+5+REM_FIXUP_32_REAL_STUFF 848 849 mov rdi, [ ebp - 18h]850 mov rsi, [ ebp - 10h]843 mov r8, [rbp + 30h] 844 mov r9, [rbp + 38h] 845 mov r10, [rbp + 40h] 846 mov [rsp], r10 847 call $+5+REM_FIXUP_32_REAL_STUFF 848 849 mov rdi, [rbp - 18h] 850 mov rsi, [rbp - 10h] 851 851 leave 852 852 LOG_EXIT … … 860 860 mov rbp, rsp 861 861 sub rsp, 30h 862 mov [ ebp - 10h], rsi863 mov [ ebp - 18h], rdi862 mov [rbp - 10h], rsi 863 mov [rbp - 18h], rdi 864 864 865 865 mov rdi, rcx … … 867 867 mov rdx, r8 868 868 mov rcx, r9 869 mov r8, [ ebp + 30h]870 mov r9, [ ebp + 38h]871 mov r10, [ ebp + 40h]872 mov [ esp], r10873 mov r11, [ ebp + 48h]874 mov [ esp + 8], r11875 call $+5+REM_FIXUP_32_REAL_STUFF 876 877 mov rdi, [ ebp - 18h]878 mov rsi, [ ebp - 10h]869 mov r8, [rbp + 30h] 870 mov r9, [rbp + 38h] 871 mov r10, [rbp + 40h] 872 mov [rsp], r10 873 mov r11, [rbp + 48h] 874 mov [rsp + 8], r11 875 call $+5+REM_FIXUP_32_REAL_STUFF 876 877 mov rdi, [rbp - 18h] 878 mov rsi, [rbp - 10h] 879 879 leave 880 880 LOG_EXIT … … 888 888 mov rbp, rsp 889 889 sub rsp, 40h 890 mov [ ebp - 10h], rsi891 mov [ ebp - 18h], rdi890 mov [rbp - 10h], rsi 891 mov [rbp - 18h], rdi 892 892 893 893 mov rdi, rcx … … 895 895 mov rdx, r8 896 896 mov rcx, r9 897 mov r8, [ ebp + 30h]898 mov r9, [ ebp + 38h]899 mov r10, [ ebp + 40h]900 mov [ esp], r10901 mov r11, [ ebp + 48h]902 mov [ esp + 8], r11903 mov rax, [ ebp + 50h]904 mov [ esp + 10h], rax905 call $+5+REM_FIXUP_32_REAL_STUFF 906 907 mov rdi, [ ebp - 18h]908 mov rsi, [ ebp - 10h]897 mov r8, [rbp + 30h] 898 mov r9, [rbp + 38h] 899 mov r10, [rbp + 40h] 900 mov [rsp], r10 901 mov r11, [rbp + 48h] 902 mov [rsp + 8], r11 903 mov rax, [rbp + 50h] 904 mov [rsp + 10h], rax 905 call $+5+REM_FIXUP_32_REAL_STUFF 906 907 mov rdi, [rbp - 18h] 908 mov rsi, [rbp - 10h] 909 909 leave 910 910 LOG_EXIT
Note:
See TracChangeset
for help on using the changeset viewer.