Skip to content

Commit b29695b

Browse files
committed
DBG: changed mulhi operator symbol
1 parent 388d5a0 commit b29695b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

help/Calculations.htm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<P><U>2:not</U>: '~' The not operator can be used before a
3131
number of a variable, like in C.</P>
3232
<P><U>3:muliplication/devision</U>: '*' = regular
33-
multiplication (signed/unsigned), '$' = get the higher part of the
33+
multiplication (signed/unsigned), '`' = get the higher part of the
3434
multiplication, '/' = regular devision (signed/unsigned, devide by zero=error)
3535
and '%' = get the modulo (remainder) of the devision.</P>
3636
<P><U>4:addition/substraction</U>: '+' and '-'</P>

x64_dbg_dbg/math.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ int mathisoperator(char ch)
3434
return 1;
3535
else if(ch == '~')
3636
return 2;
37-
else if(ch == '*' or ch == '$' or ch == '/' or ch == '%')
37+
else if(ch == '*' or ch == '`' or ch == '/' or ch == '%')
3838
return 3;
3939
else if(ch == '+' or ch == '-')
4040
return 4;
@@ -122,7 +122,7 @@ bool mathdounsignedoperation(char op, uint left, uint right, uint* result)
122122
case '*':
123123
*result = left * right;
124124
return true;
125-
case '$':
125+
case '`':
126126
*result = umulhi(left, right);
127127
return true;
128128
case '/':
@@ -171,7 +171,7 @@ bool mathdosignedoperation(char op, sint left, sint right, sint* result)
171171
case '*':
172172
*result = left * right;
173173
return true;
174-
case '$':
174+
case '`':
175175
*result = mulhi(left, right);
176176
return true;
177177
case '/':

0 commit comments

Comments
 (0)