VirtualBox

source: vbox/trunk/src/VBox/Disassembler/testcase/tstAsm.mac@ 82968

Last change on this file since 82968 was 82968, checked in by vboxsync, 5 years ago

Copyright year updates by scm.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id Revision
File size: 1.3 KB
Line 
1; $Id: tstAsm.mac 82968 2020-02-04 10:35:17Z vboxsync $
2;; @file
3; Disassembly testcase - Common header for the xREG macros.
4;
5
6;
7; Copyright (C) 2008-2020 Oracle Corporation
8;
9; This file is part of VirtualBox Open Source Edition (OSE), as
10; available from http://www.virtualbox.org. This file is free software;
11; you can redistribute it and/or modify it under the terms of the GNU
12; General Public License (GPL) as published by the Free Software
13; Foundation, in version 2 as it comes in the "COPYING" file of the
14; VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15; hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16;
17
18%if TEST_BITS == 64
19 %define xCB 8
20 %define xSP rsp
21 %define xBP rbp
22 %define xAX rax
23 %define xBX rbx
24 %define xCX rcx
25 %define xDX rdx
26 %define xDI rdi
27 %define xSI rsi
28%endif
29%if TEST_BITS == 32
30 %define xCB 4
31 %define xSP esp
32 %define xBP ebp
33 %define xAX eax
34 %define xBX ebx
35 %define xCX ecx
36 %define xDX edx
37 %define xDI edi
38 %define xSI esi
39%endif
40%if TEST_BITS == 16
41 %define xCB 2
42 %define xSP sp
43 %define xBP bp
44 %define xAX ax
45 %define xBX bx
46 %define xCX cx
47 %define xDX dx
48 %define xDI di
49 %define xSI si
50%endif
51%ifndef xCB
52 %error "TEST_BITS is missing or wrong."
53%endif
54
55%if __YASM_VERSION_ID__ >= 001020001h ; v1.2.0.1 and greater, make sure to exclude v1.2.0.0.
56 %define pmulhrwa pmulhrw
57%endif
58
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette