VirtualBox

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

Last change on this file since 26224 was 8966, checked in by vboxsync, 16 years ago

ADC tests.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1; $Id: tstAsm.mac 8966 2008-05-20 16:48:02Z vboxsync $
2;; @file
3; Disassembly testcase - Common header for the xREG macros.
4;
5
6;
7; Copyright (C) 2008 Sun Microsystems, Inc.
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; Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
18; Clara, CA 95054 USA or visit http://www.sun.com if you need
19; additional information or have any questions.
20;
21
22%if TEST_BITS == 64
23 %define xS 8
24 %define xSP rsp
25 %define xBP rbp
26 %define xAX rax
27 %define xBX rbx
28 %define xCX rcx
29 %define xDX rdx
30 %define xDI rdi
31 %define xSI rsi
32%endif
33%if TEST_BITS == 32
34 %define xS 4
35 %define xSP esp
36 %define xBP ebp
37 %define xAX eax
38 %define xBX ebx
39 %define xCX ecx
40 %define xDX edx
41 %define xDI edi
42 %define xSI esi
43%endif
44%if TEST_BITS == 16
45 %define xS 1
46 %define xSP sp
47 %define xBP bp
48 %define xAX ax
49 %define xBX bx
50 %define xCX cx
51 %define xDX dx
52 %define xDI di
53 %define xSI si
54%endif
55%ifndef xS
56 %error "TEST_BITS is missing or wrong."
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