nop operation?

10262017, 02:30 PM
Post: #1




nop operation?
I was curious how CAS handles parsing when spaces are put in composite operators.
I typed: typed LHS of stack RHS of stack a:=3 3 a+=1 increment(a) 4 a+ =1 a+nop(1) 5 What is the nop operation? I tried the help command and it isn't documented. Thanks Donald 

10262017, 02:54 PM
Post: #2




RE: nop operation?
nop does nothing (means no operation)


10262017, 10:42 PM
Post: #3




RE: nop operation?
So, nop(1) means 1?


10272017, 06:04 AM
Post: #4




RE: nop operation?
More precisely, nop(1) evaluates to 1.


10282017, 10:52 AM
Post: #5




RE: nop operation?
Xcas
[subst((abs(2*x1)) = 1,'abs','nop'), subst((abs(2*x1)) = 1,'abs','neg')] returns [(2*x1) = 1, (2*x+1) = 1] http://www.hpmuseum.org/forum/thread857...hlight=nop new HP50 RPL 

« Next Oldest  Next Newest »

User(s) browsing this thread: 1 Guest(s)