Hi, I am preparing a program for use on the 28x1. When the simulator reaches the line temp3 = inv temp2 I receive the error message "unknown math operator in simulate_let_unary". The section of code is as follows:
for temp = 0 to 15
temp2 = temp * 2 + 81
temp3 = temp * 2 + 80
peek temp2,duration_m
peek temp3,duration_s
duration = duration_m * 60 + duration_s
if elapsed > duration then
temp2 = dcd temp
temp3 = inv temp2
w0 = w0 and temp3
end if
next temp
Does anybody know if this is a simulator problem or a programmer problem? Any assistance will be greatly appreciated.
for temp = 0 to 15
temp2 = temp * 2 + 81
temp3 = temp * 2 + 80
peek temp2,duration_m
peek temp3,duration_s
duration = duration_m * 60 + duration_s
if elapsed > duration then
temp2 = dcd temp
temp3 = inv temp2
w0 = w0 and temp3
end if
next temp
Does anybody know if this is a simulator problem or a programmer problem? Any assistance will be greatly appreciated.