Changeset 10203
- Timestamp:
- 07/04/08 09:39:31 (2 months ago)
- Files:
-
- trunk/src/VBox/Disassembler/DisasmFormatYasm.cpp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/VBox/Disassembler/DisasmFormatYasm.cpp
r9925 r10203 741 741 else if (pParam->flags & USE_DISPLACEMENT64) 742 742 off = pParam->disp64; 743 else 744 { 745 AssertFailed(); 746 off = 0; 747 } 743 748 744 749 if (fBase || (pParam->flags & USE_INDEX)) … … 928 933 PUT_SIZE_OVERRIDE(); 929 934 PUT_SEGMENT_OVERRIDE(); 930 int rc ;935 int rc = VERR_SYMBOL_NOT_FOUND; 931 936 switch (pParam->flags & (USE_IMMEDIATE_ADDR_16_16 | USE_IMMEDIATE_ADDR_16_32 | USE_DISPLACEMENT64 | USE_DISPLACEMENT32 | USE_DISPLACEMENT16)) 932 937 { … … 965 970 } 966 971 967 if ( pfnGetSymbol &&RT_SUCCESS(rc))972 if (RT_SUCCESS(rc)) 968 973 { 969 974 PUT_SZ(" ["); … … 992 997 PUT_C('['); 993 998 PUT_SEGMENT_OVERRIDE(); 994 int rc ;999 int rc = VERR_SYMBOL_NOT_FOUND; 995 1000 switch (pParam->flags & (USE_IMMEDIATE_ADDR_16_16 | USE_IMMEDIATE_ADDR_16_32 | USE_DISPLACEMENT64 | USE_DISPLACEMENT32 | USE_DISPLACEMENT16)) 996 1001 { … … 1030 1035 PUT_C(']'); 1031 1036 1032 if ( pfnGetSymbol &&RT_SUCCESS(rc))1037 if (RT_SUCCESS(rc)) 1033 1038 { 1034 1039 PUT_SZ(" (");

