Last change
on this file since 17505 was 9098, checked in by vboxsync, 17 years ago |
More or less working yasm formatter. Added some disassembler testcases.
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Id
|
File size:
343 bytes
|
Line | |
---|
1 | BITS TEST_BITS
|
---|
2 |
|
---|
3 | mov fs, eax
|
---|
4 | mov fs, ax
|
---|
5 | %if TEST_BITS == 64
|
---|
6 | mov fs, rax
|
---|
7 | %endif
|
---|
8 |
|
---|
9 | mov fs, [ebx]
|
---|
10 | %if TEST_BITS != 64
|
---|
11 | mov fs, [bx]
|
---|
12 | %else
|
---|
13 | mov fs, [rbx]
|
---|
14 | %endif
|
---|
15 |
|
---|
16 | mov ax, fs
|
---|
17 | mov eax, fs
|
---|
18 | %if TEST_BITS == 64
|
---|
19 | mov rax, fs
|
---|
20 | %endif
|
---|
21 |
|
---|
22 | mov [ebx], fs
|
---|
23 | %if TEST_BITS != 64
|
---|
24 | mov [bx], fs
|
---|
25 | %else
|
---|
26 | mov [rbx], fs
|
---|
27 | %endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.