a lesson from "slightly beyond the Boot Camp" ...
from robertmee:
A FLL of length one is the same as a MOV.
that’s a VERY popular misconception - but it’s not QUITE accurate ...
note that in MOST cases, the description quoted above is “close enough” to work just fine ... but ... in other cases the important distinctions between the MOV, COP, and FLL instructions can lead to some very “intense” types of troubleshooting and program debugging problems ...
in other words, most people will probably never need to worry about these issues ... but if you’re dealing with higher-level programs - especially where “format” conversions are involved (integer to float, etc.) - then you might want to put these ideas in your little notebook of miscellaneous information ...
in a (too-small) nutshell:
(1) the MOV instruction copies VALUES ...
(2) the COP and FLL instructions copy BIT PATTERNS - but they each do that operation in different ways ...
if you’re “in to this” type of stuff, the best way to learn it is “hands-on” by entering something like the program below in a SPARE processor ...
be sure to manually type the “start up” values into N7:10 and N7:11 first ... then toggle the “test” bits ON - ONE AT A TIME ... watch the results that pop up in the N7:0 - N7:1 “Destination” area ... you’ll soon see that the MOV, the COP, and the FLL instructions are all slightly different in their operation ...
the most confusion occurs when going from a floating point-type to an integer-type location ... or vice versa ... at other times, the operational differences don’t usually show up ... mountain out of a molehill? ... maybe when we’re just poking around on the forum ... but when you’re trying to debug a program with these types of issues, little nuggets of knowledge like this can become very important ...