Last change
on this file since 77585 was 76553, checked in by vboxsync, 6 years ago |
scm --update-copyright-year
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Id Revision
|
File size:
1.1 KB
|
Line | |
---|
1 | ; $Id: tstAsmPush-1.asm 76553 2019-01-01 01:45:53Z vboxsync $
|
---|
2 | ;; @file
|
---|
3 | ; Disassembly testcase - Valid push sequences and related instructions.
|
---|
4 | ;
|
---|
5 | ; This is a build test, that means it will be assembled, disassembled,
|
---|
6 | ; then the disassembly output will be assembled and the new binary will
|
---|
7 | ; compared with the original.
|
---|
8 | ;
|
---|
9 |
|
---|
10 | ;
|
---|
11 | ; Copyright (C) 2008-2019 Oracle Corporation
|
---|
12 | ;
|
---|
13 | ; This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
14 | ; available from http://www.virtualbox.org. This file is free software;
|
---|
15 | ; you can redistribute it and/or modify it under the terms of the GNU
|
---|
16 | ; General Public License (GPL) as published by the Free Software
|
---|
17 | ; Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
18 | ; VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
19 | ; hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
20 | ;
|
---|
21 |
|
---|
22 | BITS TEST_BITS
|
---|
23 | %if TEST_BITS != 64
|
---|
24 | push bp
|
---|
25 | push ebp
|
---|
26 | push word [bp]
|
---|
27 | push dword [bp]
|
---|
28 | push word [ebp]
|
---|
29 | push dword [ebp]
|
---|
30 | %else
|
---|
31 | %if 0 ; doesn't work yet - default operand size is wrong?
|
---|
32 | push rbp
|
---|
33 | push qword [rbp]
|
---|
34 | %endif
|
---|
35 | %endif
|
---|
36 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.