This function can be thought of as an array which holds an exact copy of registers DO to D7. This array is automatically moved into the Data registers, either by the CALL command or whenever a machine code procedure is run. Once the routine has ended, the new contents of DO to D7 is copied directly into the array, so that the results may be read directly from AMOS Professional programs. For example:
E> Dreg(0)=10 : Rem Save 10 into DO Print Dreg(0) : Rem Print the contents of DO