Of course computers speak PEMDAS! It is their favorite language.
Let's check this with PICO-8.
To review, PEMDAS stands for Parentheses, Exponentiation, Multiplication, Division, Addition, Subtraction. It is the order in which one should perform operations in cases where one might have a few ways to go about computing a result. In the world of computer science, this convention is known as "operator precedence".
If one were to type
> PRINT (5+2*2)
at the PICO-8 prompt, the PICO-8 interpreter will perform multiplication before addition because of the PEMDAS rules, so the expression becomes
5 + 2 * 2
5 + 4
9
and sure enough, 9 appears on the screen, like this
> PRINT (5+2*2)
9
If we were to use parentheses to group the 5 and the 2 before multiplying be 2...
> PRINT ((5+2)*2)
14
we are asking the PICO-8 interpreter to add 5 to 2 before the multiplication
(5 + 2) * 2
7 * 2
14
PICO-8 speaks PEMDAS.