MdePkg/Include: Add Nasm.inc
[mirror_edk2.git] / MdePkg / Include / Ia32 / Nasm.inc
CommitLineData
68edd7db
JY
1;------------------------------------------------------------------------------\r
2;\r
3; Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>\r
4; This program and the accompanying materials\r
5; are licensed and made available under the terms and conditions of the BSD License\r
6; which accompanies this distribution. The full text of the license may be found at\r
7; http://opensource.org/licenses/bsd-license.php.\r
8;\r
9; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
10; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
11;\r
12; Abstract:\r
13;\r
14; This file provides macro definitions for NASM files.\r
15;\r
16;------------------------------------------------------------------------------\r
17\r
18%macro SETSSBSY 0\r
19 DB 0xF3, 0x0F, 0x01, 0xE8\r
20%endmacro\r
21\r
22%macro READSSP_EAX 0\r
23 DB 0xF3, 0x0F, 0x1E, 0xC8\r
24%endmacro\r
25\r
26%macro INCSSP_EAX 0\r
27 DB 0xF3, 0x0F, 0xAE, 0xE8\r
28%endmacro\r