Host Engineering Forum
General Category => Do-more CPUs and Do-more Designer Software => Topic started by: nfei on November 30, 2015, 06:02:50 PM
-
Why are the $Now. (SDT0-7) not available in the MOVER instruction? I had to use a separate MOVE for each value. No big deal, just more code to write.
-
MOVER moves bit/numeric values, so you can move a real to an integer or a byte to a real and (of course) reals to reals, et. al. It's not meant for structures.
HOWEVER...
look at MEMCOPY. It is for blind copying of raw BYTEs, which is exactly what you need to do when copying structures to structures. It supports ranges, just like MOVER.
So, you can eliminate your MOVEs and replace it with a single MEMCOPY :D.