I would be grateful for guidance on how to dissect the expression : Set gprm(1) &=(and) 15, where gprm(1) = 0 and which evaluates to 0. I take it that the “&†is the bitwise and – but the “(and)†?
Evaluating VM expression
Collapse
X
-
(and) is synonym to &=. Maybe I should have suppressed the double notation, but for compatibility with IfoEdit, I have decided to put both notations in the command. All operators are treated the same way. For example, += is also translated to (add). Sorry if it's not obvious.
BTW, there is a good plugin for PgcEdit called "hex bit operands" that displays exactly what each operator does. Try it if you're unsure.
Comment