]>
Commit | Line | Data |
---|---|---|
42eedea9 | 1 | /** @file This module contains generic macros for an assembly writer.\r |
2 | \r | |
3 | Copyright (c) 2006, Intel Corporation<BR>\r | |
4 | All rights reserved. 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 | \r | |
13 | #ifndef _ASM_H_\r | |
14 | #define _ASM_H_\r | |
f1baef62 | 15 | \r |
16 | #define TRUE 1\r | |
17 | #define FALSE 0\r | |
18 | #define PROCEDURE_ENTRY(name) .##text; \\r | |
19 | .##type name, @function; \\r | |
20 | .##proc name; \\r | |
21 | name::\r | |
22 | \r | |
23 | #define PROCEDURE_EXIT(name) .##endp name\r | |
24 | \r | |
25 | #endif // _ASM_H\r |