Changeset 36866 in vbox
- Timestamp:
- Apr 28, 2011 1:20:59 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/testcase/tstX86-1A.asm
r36864 r36866 40 40 extern NAME(g_pbEfExecPage) 41 41 42 g_szAlpha: 42 GLOBALNAME g_szAlpha 43 43 db "abcdefghijklmnopqrstuvwxyz", 0 44 44 g_szAlpha_end: 45 %define g_cchAlpha (g_szAlpha_end - g_szAlpha)45 %define g_cchAlpha (g_szAlpha_end - NAME(g_szAlpha)) 46 46 db 0, 0, 0, 47 47 … … 348 348 349 349 ; check that repne scasb (al=0) behaves like expected. 350 mov xDI, g_szAlpha350 lea xDI, REF_GLOBAL(g_szAlpha) 351 351 xor eax, eax ; find the end 352 352 mov ecx, g_cchAlpha + 1 … … 357 357 358 358 ; check that repe scasb (al=0) behaves like expected. 359 mov xDI, g_szAlpha359 lea xDI, REF_GLOBAL(g_szAlpha) 360 360 xor eax, eax ; find the end 361 361 mov ecx, g_cchAlpha + 1 … … 366 366 367 367 ; repne is last, it wins. 368 mov xDI, g_szAlpha368 lea xDI, REF_GLOBAL(g_szAlpha) 369 369 xor eax, eax ; find the end 370 370 mov ecx, g_cchAlpha + 1 … … 377 377 378 378 ; repe is last, it wins. 379 mov xDI, g_szAlpha379 lea xDI, REF_GLOBAL(g_szAlpha) 380 380 xor eax, eax ; find the end 381 381 mov ecx, g_cchAlpha + 1 … … 471 471 mov byte [xDI+0], 0f0h 472 472 mov byte [xDI+1], 002h 473 mov byte [xDI+2], 08 Fh473 mov byte [xDI+2], 08fh 474 474 mov dword [xDI+3], 000000000h 475 mov byte [xDI+7], 0cc Fh475 mov byte [xDI+7], 0cch 476 476 ShouldTrap X86_XCPT_UD, call xDI 477 477
Note:
See TracChangeset
for help on using the changeset viewer.