VirtualBox

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

Last change on this file since 45808 was 44529, checked in by vboxsync, 12 years ago

header (C) fixes

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1; $Id: tstAsm.mac 44529 2013-02-04 15:54:15Z vboxsync $
2;; @file
3; Disassembly testcase - Common header for the xREG macros.
4;
5
6;
7; Copyright (C) 2008-2010 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 xS 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 xS 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 xS 1
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 xS
52 %error "TEST_BITS is missing or wrong."
53%endif
54
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