teddy379 Member T Join Date Feb 2013 Location USA Posts 5 Mar 4, 2013 #1 Hello, I've encountered this in a code, and I don't know what it means. L B#(1, 255) It seems to multiply the 255 by 1 + 1 and then it adds 1.
Hello, I've encountered this in a code, and I don't know what it means. L B#(1, 255) It seems to multiply the 255 by 1 + 1 and then it adds 1.
KalleOlsen Member K Join Date Oct 2008 Location Norway (moustache area) Posts 1,782 Mar 4, 2013 #2 teddy379 said: Hello, I've encountered this in a code, and I don't know what it means. L B#(1, 255) It seems to multiply the 255 by 1 + 1 and then it adds 1. Click to expand... It is not often seen, but it acts like the S5 instruction L KY 1,255. It loads a 16 bits word to the accu, the value is given by two byte values, byte 0 = 1, Byte 1 = 255. Kalle
teddy379 said: Hello, I've encountered this in a code, and I don't know what it means. L B#(1, 255) It seems to multiply the 255 by 1 + 1 and then it adds 1. Click to expand... It is not often seen, but it acts like the S5 instruction L KY 1,255. It loads a 16 bits word to the accu, the value is given by two byte values, byte 0 = 1, Byte 1 = 255. Kalle