- Timestamp:
- Oct 15, 2007 3:22:28 PM (17 years ago)
- Location:
- trunk/src/VBox/Disassembler
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Disassembler/DisasmTest.cpp
r4071 r5296 21 21 *******************************************************************************/ 22 22 #include <VBox/dis.h> 23 #include <VBox/err.h> 23 24 #include <stdio.h> 24 25 … … 45 46 46 47 cpu.mode = CPUMODE_32BIT; 47 if ( DISInstr(&cpu, pInstr, 0, &cb, szOutput))48 if (VBOX_SUCCESS(DISInstr(&cpu, pInstr, 0, &cb, szOutput))) 48 49 printf(szOutput); 49 50 else -
trunk/src/VBox/Disassembler/DisasmTestA.asm
r4071 r5296 39 39 ; mov ax, cs:[1234h] 40 40 ; mov eax, cs:[1234h] 41 lock cmpxchg [ecx], eax 42 lock cmpxchg [ecx], ax 43 lock cmpxchg [ecx], dl 41 44 movzx ESI,word [EAX] 42 45 in al, dx
Note:
See TracChangeset
for help on using the changeset viewer.