VirtualBox

source: vbox/trunk/src/VBox/Disassembler/testcase/tstAsmLock-1.asm@ 8975

Last change on this file since 8975 was 8975, checked in by vboxsync, 17 years ago

NEG & NOT.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 24.9 KB
Line 
1; $Id: tstAsmLock-1.asm 8975 2008-05-20 19:01:58Z vboxsync $
2;; @file
3; Disassembly testcase - Valid lock 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 Sun Microsystems, Inc.
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; Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
22; Clara, CA 95054 USA or visit http://www.sun.com if you need
23; additional information or have any questions.
24;
25
26%include "tstAsm.mac"
27%if TEST_BITS == 64
28; The disassembler doesn't do imm32 right for 64-bit stuff, so disable it for now.
29; %define WITH_64_BIT_TESTS_IMM32
30; The cmpxchg16b/8b stuff isn't handled correctly in 64-bit mode. In the 8b case
31; it could be both yasm and the vbox disassembler. Have to check docs/gas/nasm.
32; %define WITH_64_BIT_TESTS_CMPXCHG16B
33 %define WITH_64_BIT_TESTS
34%endif
35
36 BITS TEST_BITS
37
38 ;
39 ; ADC
40 ;
41 ; 80 /2 ib ADC reg/mem8, imm8 - sans reg dst
42 lock adc byte [1000h], byte 8
43 lock adc byte [xBX], byte 8
44 lock adc byte [xDI], byte 8
45 ; 81 /2 i[wd] ADC reg/memX, immX - sans reg dst
46 lock adc word [1000h], word 090cch
47 lock adc word [xBX], word 090cch
48 lock adc word [xDI], word 090cch
49 lock adc dword [1000h], dword 0cc90cc90h
50 lock adc dword [xBX], dword 0cc90cc90h
51 lock adc dword [xDI], dword 0cc90cc90h
52%ifdef WITH_64_BIT_TESTS_IMM32
53 lock adc qword [1000h], dword 0cc90cc90h
54 lock adc qword [rbx], dword 0cc90cc90h
55 lock adc qword [rdi], dword 0cc90cc90h
56 lock adc qword [r9], dword 0cc90cc90h
57%endif
58 ; 83 /2 ib ADC reg/memX, imm8 - sans reg dst
59 lock adc word [1000h], byte 07fh
60 lock adc word [xBX], byte 07fh
61 lock adc word [xDI], byte 07fh
62 lock adc dword [1000h], byte 07fh
63 lock adc dword [xBX], byte 07fh
64 lock adc dword [xDI], byte 07fh
65%ifdef WITH_64_BIT_TESTS
66 lock adc qword [1000h], byte 07fh
67 lock adc qword [rbx], byte 07fh
68 lock adc qword [rdi], byte 07fh
69 lock adc qword [r10], byte 07fh
70%endif
71
72 ; 10 /r ADC reg/mem8, reg8 - sans reg dst
73 lock adc byte [1000h], bl
74 lock adc byte [xBX], bl
75 lock adc byte [xSI], bl
76 ; 11 /r ADC reg/memX, regX - sans reg dst
77 lock adc word [1000h], bx
78 lock adc word [xBX], bx
79 lock adc word [xSI], bx
80 lock adc dword [1000h], ebx
81 lock adc dword [xBX], ebx
82 lock adc dword [xSI], ebx
83%ifdef WITH_64_BIT_TESTS
84 lock adc qword [1000h], rbx
85 lock adc qword [rbx], rbx
86 lock adc qword [rsi], rbx
87 lock adc qword [r11], rbx
88%endif
89
90 ;
91 ; ADD
92 ;
93 ; 80 /0 ib ADD reg/mem8, imm8 - sans reg dst
94 lock add byte [1000h], byte 8
95 lock add byte [xBX], byte 8
96 lock add byte [xDI], byte 8
97 ; 81 /0 i[wd] ADD reg/memX, immX - sans reg dst
98 lock add word [1000h], word 090cch
99 lock add word [xBX], word 090cch
100 lock add word [xDI], word 090cch
101 lock add dword [1000h], dword 0cc90cc90h
102 lock add dword [xBX], dword 0cc90cc90h
103 lock add dword [xDI], dword 0cc90cc90h
104%ifdef WITH_64_BIT_TESTS_IMM32
105 lock add qword [1000h], dword 0cc90cc90h
106 lock add qword [rbx], dword 0cc90cc90h
107 lock add qword [rdi], dword 0cc90cc90h
108 lock add qword [r9], dword 0cc90cc90h
109%endif
110 ; 83 /0 ib ADD reg/memX, imm8 - sans reg dst
111 lock add word [1000h], byte 07fh
112 lock add word [xBX], byte 07fh
113 lock add word [xDI], byte 07fh
114 lock add dword [1000h], byte 07fh
115 lock add dword [xBX], byte 07fh
116 lock add dword [xDI], byte 07fh
117%ifdef WITH_64_BIT_TESTS
118 lock add qword [1000h], byte 07fh
119 lock add qword [rbx], byte 07fh
120 lock add qword [rdi], byte 07fh
121 lock add qword [r10], byte 07fh
122%endif
123
124 ; 00 /r ADD reg/mem8, reg8 - sans reg dst
125 lock add byte [1000h], bl
126 lock add byte [xBX], bl
127 lock add byte [xSI], bl
128 ; 01 /r ADD reg/memX, regX - sans reg dst
129 lock add word [1000h], bx
130 lock add word [xBX], bx
131 lock add word [xSI], bx
132 lock add dword [1000h], ebx
133 lock add dword [xBX], ebx
134 lock add dword [xSI], ebx
135%ifdef WITH_64_BIT_TESTS
136 lock add qword [1000h], rbx
137 lock add qword [rbx], rbx
138 lock add qword [rsi], rbx
139 lock add qword [r11], rbx
140%endif
141
142 ;
143 ; AND
144 ;
145 ; 80 /4 ib AND reg/mem8, imm8 - sans reg dst
146 lock and byte [1000h], byte 8
147 lock and byte [xBX], byte 8
148 lock and byte [xDI], byte 8
149 ; 81 /4 i[wd] AND reg/memX, immX - sans reg dst
150 lock and word [1000h], word 090cch
151 lock and word [xBX], word 090cch
152 lock and word [xDI], word 090cch
153 lock and dword [1000h], dword 0cc90cc90h
154 lock and dword [xBX], dword 0cc90cc90h
155 lock and dword [xDI], dword 0cc90cc90h
156%ifdef WITH_64_BIT_TESTS_IMM32
157 lock and qword [1000h], dword 0cc90cc90h
158 lock and qword [rbx], dword 0cc90cc90h
159 lock and qword [rdi], dword 0cc90cc90h
160 lock and qword [r9], dword 0cc90cc90h
161%endif
162 ; 83 /4 ib AND reg/memX, imm8 - sans reg dst
163 lock and word [1000h], byte 07fh
164 lock and word [xBX], byte 07fh
165 lock and word [xDI], byte 07fh
166 lock and dword [1000h], byte 07fh
167 lock and dword [xBX], byte 07fh
168 lock and dword [xDI], byte 07fh
169%ifdef WITH_64_BIT_TESTS
170 lock and qword [1000h], byte 07fh
171 lock and qword [rbx], byte 07fh
172 lock and qword [rdi], byte 07fh
173 lock and qword [r10], byte 07fh
174%endif
175
176 ; 20 /r AND reg/mem8, reg8 - sans reg dst
177 lock and byte [1000h], bl
178 lock and byte [xBX], bl
179 lock and byte [xSI], bl
180 ; 21 /r AND reg/memX, regX - sans reg dst
181 lock and word [1000h], bx
182 lock and word [xBX], bx
183 lock and word [xSI], bx
184 lock and dword [1000h], ebx
185 lock and dword [xBX], ebx
186 lock and dword [xSI], ebx
187%ifdef WITH_64_BIT_TESTS
188 lock and qword [1000h], rbx
189 lock and qword [rbx], rbx
190 lock and qword [rsi], rbx
191 lock and qword [r11], rbx
192%endif
193
194 ;
195 ; BTC
196 ;
197 ; 0f bb /r BTC reg/memX, regX (X != 8) - sans reg dst
198 lock btc word [20cch], bx
199 lock btc word [xBX], bx
200 lock btc word [xDI], bx
201 lock btc dword [20cch], ebx
202 lock btc dword [xBX], ebx
203 lock btc dword [xDI], ebx
204%ifdef WITH_64_BIT_TESTS
205 lock btc qword [20cch], rbx
206 lock btc qword [rdx], rbx
207 lock btc qword [rdi], r10
208 lock btc qword [r8], r12
209%endif
210 ; 0f ba /7 ib BTC reg/memX, imm8 (X != 8) - sans reg dst
211 lock btc word [20cch], 15
212 lock btc word [xBX], 15
213 lock btc word [xDI], 15
214 lock btc dword [20cch], 30
215 lock btc dword [xBX], 30
216 lock btc dword [xDI], 30
217%ifdef WITH_64_BIT_TESTS
218 lock btc qword [20cch], 60
219 lock btc qword [rdx], 60
220 lock btc qword [rdi], 60
221 lock btc qword [r9], 60
222 lock btc qword [r12], 60
223%endif
224
225 ;
226 ; BTR
227 ;
228 ; 0f b3 /r BTR reg/memX, regX (X != 8) - sans reg dst
229 lock btr word [20cch], bx
230 lock btr word [xBX], bx
231 lock btr word [xDI], bx
232 lock btr dword [20cch], ebx
233 lock btr dword [xBX], ebx
234 lock btr dword [xDI], ebx
235%ifdef WITH_64_BIT_TESTS
236 lock btr qword [20cch], rbx
237 lock btr qword [rdx], rbx
238 lock btr qword [rdi], r10
239 lock btr qword [r8], r12
240%endif
241 ; 0f ba /6 ib BTR reg/memX, imm8 (X != 8) - sans reg dst
242 lock btr word [20cch], 15
243 lock btr word [xBX], 15
244 lock btr word [xDI], 15
245 lock btr dword [20cch], 30
246 lock btr dword [xBX], 30
247 lock btr dword [xDI], 30
248%ifdef WITH_64_BIT_TESTS
249 lock btr qword [20cch], 60
250 lock btr qword [rdx], 60
251 lock btr qword [rdi], 60
252 lock btr qword [r9], 60
253 lock btr qword [r12], 60
254%endif
255
256 ;
257 ; BTS
258 ;
259 ; 0f ab /r BTS reg/memX, regX (X != 8) - sans reg dst
260 lock bts word [20cch], bx
261 lock bts word [xBX], bx
262 lock bts word [xDI], bx
263 lock bts dword [20cch], ebx
264 lock bts dword [xBX], ebx
265 lock bts dword [xDI], ebx
266%if TEST_BITS == 64
267 lock bts qword [20cch], rbx
268 lock bts qword [rdx], rbx
269 lock bts qword [rdi], r10
270 lock bts qword [r8], r12
271%endif
272 ; 0f ba /5 ib BTS reg/memX, imm8 (X != 8) - sans reg dst
273 lock bts word [20cch], 15
274 lock bts word [xBX], 15
275 lock bts word [xDI], 15
276 lock bts dword [20cch], 30
277 lock bts dword [xBX], 30
278 lock bts dword [xDI], 30
279%if TEST_BITS == 64
280 lock bts qword [20cch], 60
281 lock bts qword [rdx], 60
282 lock bts qword [rdi], 60
283 lock bts qword [r9], 60
284 lock bts qword [r12], 60
285%endif
286
287 ;
288 ; CMPXCHG
289 ;
290 ; 0f b0 /r CMPXCHG reg8/mem8, regX - with reg dst
291 lock cmpxchg byte [30cch], cl
292 lock cmpxchg byte [xBX], cl
293 lock cmpxchg byte [xSI], cl
294 ; 0f b1 /r CMPXCHG regX/memX, regX - with reg dst
295 lock cmpxchg word [30cch], cx
296 lock cmpxchg word [xBX], cx
297 lock cmpxchg word [xSI], cx
298 lock cmpxchg dword [30cch], ecx
299 lock cmpxchg dword [xBX], ecx
300 lock cmpxchg dword [xSI], ecx
301%ifdef WITH_64_BIT_TESTS
302 lock cmpxchg qword [30cch], rcx
303 lock cmpxchg qword [xBX], rcx
304 lock cmpxchg qword [xSI], rcx
305 lock cmpxchg qword [rdi], r8
306 lock cmpxchg qword [r12], r9
307%endif
308
309 ;
310 ; CMPXCHG8B
311 ; CMPXCHG16B
312 ;
313 ;; @todo get back to cmpxchg8b and cmpxchg16b.
314 lock cmpxchg8b qword [1000h]
315 lock cmpxchg8b qword [xDI]
316 lock cmpxchg8b qword [xDI+xBX]
317%ifdef WITH_64_BIT_TESTS_CMPXCHG16B
318 lock cmpxchg16b [1000h]
319 lock cmpxchg16b [xDI]
320 lock cmpxchg16b [xDI+xBX]
321%endif
322
323 ;
324 ; DEC
325 ;
326 ; fe /1 DEC reg8/mem8 - sans reg dst
327 lock dec byte [40cch]
328 lock dec byte [xBX]
329 lock dec byte [xSI]
330 ; ff /1 DEC regX/memX - sans reg dst
331 lock dec word [40cch]
332 lock dec word [xBX]
333 lock dec word [xSI]
334 lock dec dword [40cch]
335 lock dec dword [xBX]
336 lock dec dword [xSI]
337%ifdef WITH_64_BIT_TESTS
338 lock dec qword [40cch]
339 lock dec qword [xBX]
340 lock dec qword [xSI]
341 lock dec qword [r8]
342 lock dec qword [r12]
343%endif
344
345 ;
346 ; INC
347 ;
348 ; fe /0 INC reg8/mem8 - sans reg dst
349 lock inc byte [40cch]
350 lock inc byte [xBX]
351 lock inc byte [xSI]
352 ; ff /0 INC regX/memX - sans reg dst
353 lock inc word [40cch]
354 lock inc word [xBX]
355 lock inc word [xSI]
356 lock inc dword [40cch]
357 lock inc dword [xBX]
358 lock inc dword [xSI]
359%ifdef WITH_64_BIT_TESTS
360 lock inc qword [40cch]
361 lock inc qword [xBX]
362 lock inc qword [xSI]
363 lock inc qword [r8]
364 lock inc qword [r12]
365%endif
366
367 ;
368 ; NEG
369 ;
370 ; f6 /3 NEG reg8/mem8 - sans reg dst
371 lock neg byte [40cch]
372 lock neg byte [xBX]
373 lock neg byte [xSI]
374 ; f7 /3 NEG regX/memX - sans reg dst
375 lock neg word [40cch]
376 lock neg word [xBX]
377 lock neg word [xSI]
378 lock neg dword [40cch]
379 lock neg dword [xBX]
380 lock neg dword [xSI]
381%ifdef WITH_64_BIT_TESTS
382 lock neg qword [40cch]
383 lock neg qword [xBX]
384 lock neg qword [xSI]
385 lock neg qword [r8]
386 lock neg qword [r12]
387%endif
388
389 ;
390 ; NOT
391 ;
392 ; f6 /2 NOT reg8/mem8 - sans reg dst
393 lock not byte [40cch]
394 lock not byte [xBX]
395 lock not byte [xSI]
396 ; f7 /2 NOT regX/memX - sans reg dst
397 lock not word [40cch]
398 lock not word [xBX]
399 lock not word [xSI]
400 lock not dword [40cch]
401 lock not dword [xBX]
402 lock not dword [xSI]
403%ifdef WITH_64_BIT_TESTS
404 lock not qword [40cch]
405 lock not qword [xBX]
406 lock not qword [xSI]
407 lock not qword [r8]
408 lock not qword [r12]
409%endif
410
411 ; OR
412 ; SBB
413 ; SUB
414 ; XADD
415
416%if 0
417 ; XCHG
418 lock xchg [eax], eax
419 lock xchg [ebx], eax
420 lock xchg [ecx], eax
421 lock xchg [edx], eax
422 lock xchg [esp], eax
423 lock xchg [ebp], eax
424 lock xchg [esi], eax
425 lock xchg [edi], eax
426 lock xchg [eax], ebx
427 lock xchg [ebx], ebx
428 lock xchg [ecx], ebx
429 lock xchg [edx], ebx
430 lock xchg [esp], ebx
431 lock xchg [ebp], ebx
432 lock xchg [esi], ebx
433 lock xchg [edi], ebx
434 lock xchg [eax], ecx
435 lock xchg [ebx], ecx
436 lock xchg [ecx], ecx
437 lock xchg [edx], ecx
438 lock xchg [esp], ecx
439 lock xchg [ebp], ecx
440 lock xchg [esi], ecx
441 lock xchg [edi], ecx
442 lock xchg [eax], edx
443 lock xchg [ebx], edx
444 lock xchg [ecx], edx
445 lock xchg [edx], edx
446 lock xchg [esp], edx
447 lock xchg [ebp], edx
448 lock xchg [esi], edx
449 lock xchg [edi], edx
450 lock xchg [eax], esp
451 lock xchg [ebx], esp
452 lock xchg [ecx], esp
453 lock xchg [edx], esp
454 lock xchg [esp], esp
455 lock xchg [ebp], esp
456 lock xchg [esi], esp
457 lock xchg [edi], esp
458 lock xchg [eax], ebp
459 lock xchg [ebx], ebp
460 lock xchg [ecx], ebp
461 lock xchg [edx], ebp
462 lock xchg [esp], ebp
463 lock xchg [ebp], ebp
464 lock xchg [esi], ebp
465 lock xchg [edi], ebp
466 lock xchg [eax], esi
467 lock xchg [ebx], esi
468 lock xchg [ecx], esi
469 lock xchg [edx], esi
470 lock xchg [esp], esi
471 lock xchg [ebp], esi
472 lock xchg [esi], esi
473 lock xchg [edi], esi
474 lock xchg [eax], edi
475 lock xchg [ebx], edi
476 lock xchg [ecx], edi
477 lock xchg [edx], edi
478 lock xchg [esp], edi
479 lock xchg [ebp], edi
480 lock xchg [esi], edi
481 lock xchg [edi], edi
482
483 lock xchg [10], eax
484 lock xchg [10], ebx
485 lock xchg [10], ecx
486 lock xchg [10], edx
487 lock xchg [10], esp
488 lock xchg [10], ebp
489 lock xchg [10], esi
490 lock xchg [10], edi
491
492 lock xchg [10000], eax
493 lock xchg [10000], ebx
494 lock xchg [10000], ecx
495 lock xchg [10000], edx
496 lock xchg [10000], esp
497 lock xchg [10000], ebp
498 lock xchg [10000], esi
499 lock xchg [10000], edi
500
501 xchg [eax], eax
502 xchg [ebx], eax
503 xchg [ecx], eax
504 xchg [edx], eax
505 xchg [esp], eax
506 xchg [ebp], eax
507 xchg [esi], eax
508 xchg [edi], eax
509 xchg [eax], ebx
510 xchg [ebx], ebx
511 xchg [ecx], ebx
512 xchg [edx], ebx
513 xchg [esp], ebx
514 xchg [ebp], ebx
515 xchg [esi], ebx
516 xchg [edi], ebx
517 xchg [eax], ecx
518 xchg [ebx], ecx
519 xchg [ecx], ecx
520 xchg [edx], ecx
521 xchg [esp], ecx
522 xchg [ebp], ecx
523 xchg [esi], ecx
524 xchg [edi], ecx
525 xchg [eax], edx
526 xchg [ebx], edx
527 xchg [ecx], edx
528 xchg [edx], edx
529 xchg [esp], edx
530 xchg [ebp], edx
531 xchg [esi], edx
532 xchg [edi], edx
533 xchg [eax], esp
534 xchg [ebx], esp
535 xchg [ecx], esp
536 xchg [edx], esp
537 xchg [esp], esp
538 xchg [ebp], esp
539 xchg [esi], esp
540 xchg [edi], esp
541 xchg [eax], ebp
542 xchg [ebx], ebp
543 xchg [ecx], ebp
544 xchg [edx], ebp
545 xchg [esp], ebp
546 xchg [ebp], ebp
547 xchg [esi], ebp
548 xchg [edi], ebp
549 xchg [eax], esi
550 xchg [ebx], esi
551 xchg [ecx], esi
552 xchg [edx], esi
553 xchg [esp], esi
554 xchg [ebp], esi
555 xchg [esi], esi
556 xchg [edi], esi
557 xchg [eax], edi
558 xchg [ebx], edi
559 xchg [ecx], edi
560 xchg [edx], edi
561 xchg [esp], edi
562 xchg [ebp], edi
563 xchg [esi], edi
564 xchg [edi], edi
565
566 nop
567 xchg ebx, eax
568 xchg ecx, eax
569 xchg edx, eax
570 xchg esp, eax
571 xchg ebp, eax
572 xchg esi, eax
573 xchg edi, eax
574 xchg eax, ebx
575 xchg ebx, ebx
576 xchg ecx, ebx
577 xchg edx, ebx
578 xchg esp, ebx
579 xchg ebp, ebx
580 xchg esi, ebx
581 xchg edi, ebx
582 xchg eax, ecx
583 xchg ebx, ecx
584 xchg ecx, ecx
585 xchg edx, ecx
586 xchg esp, ecx
587 xchg ebp, ecx
588 xchg esi, ecx
589 xchg edi, ecx
590 xchg eax, edx
591 xchg ebx, edx
592 xchg ecx, edx
593 xchg edx, edx
594 xchg esp, edx
595 xchg ebp, edx
596 xchg esi, edx
597 xchg edi, edx
598 xchg eax, esp
599 xchg ebx, esp
600 xchg ecx, esp
601 xchg edx, esp
602 xchg esp, esp
603 xchg ebp, esp
604 xchg esi, esp
605 xchg edi, esp
606 xchg eax, ebp
607 xchg ebx, ebp
608 xchg ecx, ebp
609 xchg edx, ebp
610 xchg esp, ebp
611 xchg ebp, ebp
612 xchg esi, ebp
613 xchg edi, ebp
614 xchg eax, esi
615 xchg ebx, esi
616 xchg ecx, esi
617 xchg edx, esi
618 xchg esp, esi
619 xchg ebp, esi
620 xchg esi, esi
621 xchg edi, esi
622 xchg eax, edi
623 xchg ebx, edi
624 xchg ecx, edi
625 xchg edx, edi
626 xchg esp, edi
627 xchg ebp, edi
628 xchg esi, edi
629 xchg edi, edi
630
631 ; XOR
632 lock xor [1011], eax
633 lock xor [1011], ebx
634 lock xor [1011], ecx
635 lock xor [1011], edx
636 lock xor [1011], esp
637 lock xor [1011], ebp
638 lock xor [1011], esi
639 lock xor [1011], edi
640
641 lock xor [1011], ax
642 lock xor [1011], bx
643 lock xor [1011], cx
644 lock xor [1011], dx
645 lock xor [1011], sp
646 lock xor [1011], bp
647 lock xor [1011], si
648 lock xor [1011], di
649
650 lock xor byte [11], 10
651 lock xor word [11], 10433
652 lock xor dword [11], 10433
653
654 lock xor byte [eax], 1
655 lock xor byte [ebx], 2
656 lock xor byte [ecx], 3
657 lock xor byte [edx], 4
658 lock xor byte [esp], 5
659 lock xor byte [ebp], 6
660 lock xor byte [esi], 7
661 lock xor byte [edi], 8
662
663 lock xor word [eax], 11234
664 lock xor word [ebx], 21234
665 lock xor word [ecx], 31234
666 lock xor word [edx], 41234
667 lock xor word [esp], 51234
668 lock xor word [ebp], 61234
669 lock xor word [esi], 17234
670 lock xor word [edi], 18234
671
672 lock xor dword [eax], 1011234
673 lock xor dword [ebx], 1021234
674 lock xor dword [ecx], 1031234
675 lock xor dword [edx], 1041234
676 lock xor dword [esp], 1051234
677 lock xor dword [ebp], 1061234
678 lock xor dword [esi], 1071234
679 lock xor dword [edi], 1081234
680
681 lock xor [eax], eax
682 lock xor [eax], ebx
683 lock xor [eax], ecx
684 lock xor [eax], edx
685 lock xor [eax], esp
686 lock xor [eax], ebp
687 lock xor [eax], esi
688 lock xor [eax], edi
689 lock xor [ebx], eax
690 lock xor [ebx], ebx
691 lock xor [ebx], ecx
692 lock xor [ebx], edx
693 lock xor [ebx], esp
694 lock xor [ebx], ebp
695 lock xor [ebx], esi
696 lock xor [ebx], edi
697 lock xor [ecx], eax
698 lock xor [ecx], ebx
699 lock xor [ecx], ecx
700 lock xor [ecx], edx
701 lock xor [ecx], esp
702 lock xor [ecx], ebp
703 lock xor [ecx], esi
704 lock xor [ecx], edi
705 lock xor [edx], eax
706 lock xor [edx], ebx
707 lock xor [edx], ecx
708 lock xor [edx], edx
709 lock xor [edx], esp
710 lock xor [edx], ebp
711 lock xor [edx], esi
712 lock xor [edx], edi
713 lock xor [esp], eax
714 lock xor [esp], ebx
715 lock xor [esp], ecx
716 lock xor [esp], edx
717 lock xor [esp], esp
718 lock xor [esp], ebp
719 lock xor [esp], esi
720 lock xor [esp], edi
721 lock xor [ebp], eax
722 lock xor [ebp], ebx
723 lock xor [ebp], ecx
724 lock xor [ebp], edx
725 lock xor [ebp], esp
726 lock xor [ebp], ebp
727 lock xor [ebp], esi
728 lock xor [ebp], edi
729 lock xor [esi], eax
730 lock xor [esi], ebx
731 lock xor [esi], ecx
732 lock xor [esi], edx
733 lock xor [esi], esp
734 lock xor [esi], ebp
735 lock xor [esi], esi
736 lock xor [esi], edi
737 lock xor [edi], eax
738 lock xor [edi], ebx
739 lock xor [edi], ecx
740 lock xor [edi], edx
741 lock xor [edi], esp
742 lock xor [edi], ebp
743 lock xor [edi], esi
744 lock xor [edi], edi
745
746 lock xor [eax], ax
747 lock xor [eax], bx
748 lock xor [eax], cx
749 lock xor [eax], dx
750 lock xor [eax], sp
751 lock xor [eax], bp
752 lock xor [eax], si
753 lock xor [eax], di
754 lock xor [ebx], ax
755 lock xor [ebx], bx
756 lock xor [ebx], cx
757 lock xor [ebx], dx
758 lock xor [ebx], sp
759 lock xor [ebx], bp
760 lock xor [ebx], si
761 lock xor [ebx], di
762 lock xor [ecx], ax
763 lock xor [ecx], bx
764 lock xor [ecx], cx
765 lock xor [ecx], dx
766 lock xor [ecx], sp
767 lock xor [ecx], bp
768 lock xor [ecx], si
769 lock xor [ecx], di
770 lock xor [edx], ax
771 lock xor [edx], bx
772 lock xor [edx], cx
773 lock xor [edx], dx
774 lock xor [edx], sp
775 lock xor [edx], bp
776 lock xor [edx], si
777 lock xor [edx], di
778 lock xor [esp], ax
779 lock xor [esp], bx
780 lock xor [esp], cx
781 lock xor [esp], dx
782 lock xor [esp], sp
783 lock xor [esp], bp
784 lock xor [esp], si
785 lock xor [esp], di
786 lock xor [ebp], ax
787 lock xor [ebp], bx
788 lock xor [ebp], cx
789 lock xor [ebp], dx
790 lock xor [ebp], sp
791 lock xor [ebp], bp
792 lock xor [ebp], si
793 lock xor [ebp], di
794 lock xor [esi], ax
795 lock xor [esi], bx
796 lock xor [esi], cx
797 lock xor [esi], dx
798 lock xor [esi], sp
799 lock xor [esi], bp
800 lock xor [esi], si
801 lock xor [esi], di
802 lock xor [edi], ax
803 lock xor [edi], bx
804 lock xor [edi], cx
805 lock xor [edi], dx
806 lock xor [edi], sp
807 lock xor [edi], bp
808 lock xor [edi], si
809 lock xor [edi], di
810
811 lock xor [eax], al
812 lock xor [eax], ah
813 lock xor [eax], bl
814 lock xor [eax], bh
815 lock xor [eax], cl
816 lock xor [eax], ch
817 lock xor [eax], dl
818 lock xor [eax], dh
819 lock xor [ebx], al
820 lock xor [ebx], ah
821 lock xor [ebx], bl
822 lock xor [ebx], bh
823 lock xor [ebx], cl
824 lock xor [ebx], ch
825 lock xor [ebx], dl
826 lock xor [ebx], dh
827 lock xor [ecx], al
828 lock xor [ecx], ah
829 lock xor [ecx], bl
830 lock xor [ecx], bh
831 lock xor [ecx], cl
832 lock xor [ecx], ch
833 lock xor [ecx], dl
834 lock xor [ecx], dh
835 lock xor [edx], al
836 lock xor [edx], ah
837 lock xor [edx], bl
838 lock xor [edx], bh
839 lock xor [edx], cl
840 lock xor [edx], ch
841 lock xor [edx], dl
842 lock xor [edx], dh
843 lock xor [esp], al
844 lock xor [esp], ah
845 lock xor [esp], bl
846 lock xor [esp], bh
847 lock xor [esp], cl
848 lock xor [esp], ch
849 lock xor [esp], dl
850 lock xor [esp], dh
851 lock xor [ebp], al
852 lock xor [ebp], ah
853 lock xor [ebp], bl
854 lock xor [ebp], bh
855 lock xor [ebp], cl
856 lock xor [ebp], ch
857 lock xor [ebp], dl
858 lock xor [ebp], dh
859 lock xor [esi], al
860 lock xor [esi], ah
861 lock xor [esi], bl
862 lock xor [esi], bh
863 lock xor [esi], cl
864 lock xor [esi], ch
865 lock xor [esi], dl
866 lock xor [esi], dh
867 lock xor [edi], al
868 lock xor [edi], ah
869 lock xor [edi], bl
870 lock xor [edi], bh
871 lock xor [edi], cl
872 lock xor [edi], ch
873 lock xor [edi], dl
874 lock xor [edi], dh
875
876 xor [1011], eax
877 xor [1011], ebx
878 xor [1011], ecx
879 xor [1011], edx
880 xor [1011], esp
881 xor [1011], ebp
882 xor [1011], esi
883 xor [1011], edi
884
885 xor [1011], ax
886 xor [1011], bx
887 xor [1011], cx
888 xor [1011], dx
889 xor [1011], sp
890 xor [1011], bp
891 xor [1011], si
892 xor [1011], di
893
894 xor byte [11], 10
895 xor word [11], 10433
896 xor dword [11], 10433
897
898 xor byte [eax], 1
899 xor byte [ebx], 2
900 xor byte [ecx], 3
901 xor byte [edx], 4
902 xor byte [esp], 5
903 xor byte [ebp], 6
904 xor byte [esi], 7
905 xor byte [edi], 8
906
907 xor word [eax], 11234
908 xor word [ebx], 21234
909 xor word [ecx], 31234
910 xor word [edx], 41234
911 xor word [esp], 51234
912 xor word [ebp], 61234
913 xor word [esi], 17234
914 xor word [edi], 18234
915
916 xor dword [eax], 1011234
917 xor dword [ebx], 1021234
918 xor dword [ecx], 1031234
919 xor dword [edx], 1041234
920 xor dword [esp], 1051234
921 xor dword [ebp], 1061234
922 xor dword [esi], 1071234
923 xor dword [edi], 1081234
924
925 xor [eax], eax
926 xor [eax], ebx
927 xor [eax], ecx
928 xor [eax], edx
929 xor [eax], esp
930 xor [eax], ebp
931 xor [eax], esi
932 xor [eax], edi
933 xor [ebx], eax
934 xor [ebx], ebx
935 xor [ebx], ecx
936 xor [ebx], edx
937 xor [ebx], esp
938 xor [ebx], ebp
939 xor [ebx], esi
940 xor [ebx], edi
941 xor [ecx], eax
942 xor [ecx], ebx
943 xor [ecx], ecx
944 xor [ecx], edx
945 xor [ecx], esp
946 xor [ecx], ebp
947 xor [ecx], esi
948 xor [ecx], edi
949 xor [edx], eax
950 xor [edx], ebx
951 xor [edx], ecx
952 xor [edx], edx
953 xor [edx], esp
954 xor [edx], ebp
955 xor [edx], esi
956 xor [edx], edi
957 xor [esp], eax
958 xor [esp], ebx
959 xor [esp], ecx
960 xor [esp], edx
961 xor [esp], esp
962 xor [esp], ebp
963 xor [esp], esi
964 xor [esp], edi
965 xor [ebp], eax
966 xor [ebp], ebx
967 xor [ebp], ecx
968 xor [ebp], edx
969 xor [ebp], esp
970 xor [ebp], ebp
971 xor [ebp], esi
972 xor [ebp], edi
973 xor [esi], eax
974 xor [esi], ebx
975 xor [esi], ecx
976 xor [esi], edx
977 xor [esi], esp
978 xor [esi], ebp
979 xor [esi], esi
980 xor [esi], edi
981 xor [edi], eax
982 xor [edi], ebx
983 xor [edi], ecx
984 xor [edi], edx
985 xor [edi], esp
986 xor [edi], ebp
987 xor [edi], esi
988 xor [edi], edi
989
990 xor eax, eax
991 xor eax, ebx
992 xor eax, ecx
993 xor eax, edx
994 xor eax, esp
995 xor eax, ebp
996 xor eax, esi
997 xor eax, edi
998 xor ebx, eax
999 xor ebx, ebx
1000 xor ebx, ecx
1001 xor ebx, edx
1002 xor ebx, esp
1003 xor ebx, ebp
1004 xor ebx, esi
1005 xor ebx, edi
1006 xor ecx, eax
1007 xor ecx, ebx
1008 xor ecx, ecx
1009 xor ecx, edx
1010 xor ecx, esp
1011 xor ecx, ebp
1012 xor ecx, esi
1013 xor ecx, edi
1014 xor edx, eax
1015 xor edx, ebx
1016 xor edx, ecx
1017 xor edx, edx
1018 xor edx, esp
1019 xor edx, ebp
1020 xor edx, esi
1021 xor edx, edi
1022 xor esp, eax
1023 xor esp, ebx
1024 xor esp, ecx
1025 xor esp, edx
1026 xor esp, esp
1027 xor esp, ebp
1028 xor esp, esi
1029 xor esp, edi
1030 xor ebp, eax
1031 xor ebp, ebx
1032 xor ebp, ecx
1033 xor ebp, edx
1034 xor ebp, esp
1035 xor ebp, ebp
1036 xor ebp, esi
1037 xor ebp, edi
1038 xor esi, eax
1039 xor esi, ebx
1040 xor esi, ecx
1041 xor esi, edx
1042 xor esi, esp
1043 xor esi, ebp
1044 xor esi, esi
1045 xor esi, edi
1046 xor edi, eax
1047 xor edi, ebx
1048 xor edi, ecx
1049 xor edi, edx
1050 xor edi, esp
1051 xor edi, ebp
1052 xor edi, esi
1053 xor edi, edi
1054%endif
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