History

allow (base,index) as alias to (base,index,1)

bellard committed 20 years ago

Commit 6ca02991 parent 5487bc21 file · +4 −2Browse files

Unified · Split

i386-asm.c+4−2
@@ -320,8 +320,10 @@ static void parse_operand(TCCState *s1, Operand *op) · 319 unmodified lines
320 if (tok != ',') {320 if (tok != ',') {
321 op->reg2 = asm_parse_reg();321 op->reg2 = asm_parse_reg();
322 } 322 }
323 skip(',');323 if (tok == ',') {
324 op->shift = get_reg_shift(s1);324 next();
325 op->shift = get_reg_shift(s1);
326 }
325 }327 }
326 skip(')');328 skip(')');
327 }329 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t