Klaas-Jan Stol wrote:

This must make the following syntax rule illegal:

 target = null

because if "null" is declared as a .local, you can't know whether you want
to nullify target, or want to set target's value to that of the .local
variable "null".

I take it this is no problem; just stick to

 null target

if you actually want to set target to 0/null.

Yes, that's reasonable. The syntactic sugar was confusing in that case anyway. (Seemed like you were assigning a null value to the destination register, rather than nullifying the PMC in the destination register.)

This belongs in a general category of opcodes where the standard transformation of "call the opcode with the first argument stuck before an '=' sign" doesn't really make sense.

Allison

Reply via email to