Changeset 10271 in vbox
- Timestamp:
- Jul 5, 2008 1:07:04 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 32883
- Location:
- trunk/src/VBox/Disassembler
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Disassembler/DisasmReg.cpp
r10170 r10271 221 221 222 222 if (subtype == OP_PARM_v) 223 subtype = (pCpu->opmode == CPUMODE_32BIT) ? OP_PARM_d : OP_PARM_w; 223 { 224 switch(pCpu->opmode) 225 { 226 case CPUMODE_32BIT: 227 subtype = OP_PARM_d; 228 break; 229 case CPUMODE_64BIT: 230 subtype = OP_PARM_q; 231 break; 232 case CPUMODE_16BIT: 233 subtype = OP_PARM_w; 234 break; 235 default: 236 /* make gcc happy */ 237 break; 238 } 239 } 224 240 225 241 switch(subtype) -
trunk/src/VBox/Disassembler/DisasmTestA.asm
r9921 r10271 73 73 ;incorrectly assembled by yasm; REX.W should not be added! 74 74 ;test rax, dword 0cc90cc90h 75 and [r15], rax 75 76 movzx rcx, sil 76 77 and sil, 3
Note:
See TracChangeset
for help on using the changeset viewer.