My assembler script passes for add and max. For rect, I have a comparison failure which is confusing me.
The provided Assembler maps @counter to 10000 (16), since this is where the variable space starts. Then it encounters @address, a new variable, but I'm not sure why it maps this to 10000 (16) also. Hasn't that memory address already been allocated to @counter?
My script maps new variables to new memory locations, so it places @address at 10001 (17). Is this wrong? If so, I must be missing something about the language specification.