nasm 汇编命令2021年2月后增补。
;=========================================================== ;nasm 增补新汇编命令集 ; ;引用方式 ;把icpup.inc文件copy到自己的项目目录中 ;在自己的汇编asm文件中的开始加入 ; %include "icpup.inc" ; ;可以应用新指令 2021年2月前的nasm补丁 ; ; by Y.Pierre 2021/4/30 ;=========================================================== %ifndef __ICPUP_INC__ %define __ICPUP_INC__ ;AESDEC xmm1,xmm2/m128 %define aesdec db 066h,0fh,038h,0deh %define AESDEC aesdec %endif ;CLUI - 清除用户中断标志 %define clui db 0f3h,0fh,01h,0eeh %define CLUI clui ;STUI - Set User Interrupt Flag %define stui db 0f3h,0fh,01h,0efh %define STUI stui ;TESTUI - Determine User Interrupt Flag %define testui db 0f3h,0fh,01h,0edh %define TESTUI testui ;UIRET - User Interrupt Return %define uiret db 0f3h,0fh,01h,0ech %define UIRET uiret ;ENQCMD - Enqueue Command %define enqcmd db 0f2h,0fh,038h,0f8h %define ENQCMD enqcmd ;ENQCMDS - Enqueue Command Supervisor %define enqcmds db 0f3h,0fh,038h,0f8h %define ENQCMDS enqcmds ;HRESET - History Reset %define hreset db 0f3h,0fh,03ah,0f0h,0c0h %define HRESET hreset ;SENDUIPI - Send User Interprocessor Interrupts %define senduipi db 0f3h,0fh,0c7 %define SENDUIPI senduipi ;SERIALIZE -Serialize Instruction Execution %define serialize db 0fh,01h,0e8h %define SERIALIZE serialize ;VPDPBUSD - Multiply and Add Unsined and Signed Bytes %define vpdpbusd db 90h %define VPDPBUSD vpdpbusd ;VPDPBUSDS - Multiply and Add Unsigned and Signed Bytes with Saturation %define vpdpbusds db 90h %define VPDPBUSDS vpdpbusds ;VPDPWSSD - Multiply and Add Signed Word Integers %define vpdpwssd db 90h %define VPDPWSSD vpdpwssd ;VPDPWSSDS - Multiply and Add Signed Word Integers with Saturation %define vpdpwssds db 90h %define VPDPWSSDS vpdpwssds ;XRESLDTRK - Resume Tracking Load Addresses %define xresldtrk db 0f2h,0fh,01h,0e9h %define XRESLDTRK xresldtrk ;XSUSLDTRK - Suspend Tracking Load Addresses %define xrusldtrk db 0f2h,0fh,01h,0e8h %define XRUSLDTRK xrusldtrk %endif
文件名 icpup.inc 增补nasm 2020.6以前的版本