mov or cpy?

A project log for One instruction VGA computer

Incorporates an improved minimal-chip One Instruction CPU with a hardware-driven VGA output

justin-davisJustin Davis 08/24/2022 at 19:381 Comment

I realized that the one instruction isn't really a move.  It's more of a copy.  The original value isn't destroyed in the process.  I'm not sure why I didn't realize this until now.  Don't think I'll change anything.  Just an interesting note.


Ken Yap wrote 08/24/2022 at 21:48 point

I've hardly ever seen instruction sets where cpy is used, they are labelled as mov even though the origin isn't destroyed. The distinction is more associated with filesystems and such. So I wouldn't worry about the name.

  Are you sure? yes | no