⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cpuclk.asm

📁 Use Asm in Visual Basic With Class Vtables demotrate with ASM Copy Memory Function
💻 ASM
字号:
; Write the CPU clock cycle count (since cpu reset) into the passed ByRef Currency (64 bit) parameter

[bits 32]
    rdtsc                                   ;# Read the cpu clock cycle count into eax/edx
    mov ecx, dword [esp+8]                  ;# Address of Currency parameter into ecx
    mov [ecx], eax                          ;# Put eax to the low part of the currency variable
    mov [ecx+4], edx                        ;# Put edx to the high part of the currency variable
    xor eax, eax                            ;# Clear eax, tell VB a-okay
    ret 8                                   ;# Return

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -