" Warren's version of mv. mv file1 file2 main: lac 017777 i " Load the pointer pointer in 017777 sad d8 " to see if we have two jmp nofiles " No arguments, stop now lac 017777 " Move five words past the argument word count tad d5 " so that AC points at the first argument dac name1 " and save it tad d4 " Then do the same for the second name dac name2 sys rename; name1:0; name2:0 " Rename the file spa jmp badfile " Print out an error on failure sys exit nofiles: lac d1 sys write; 1f; 5 " Write "No files\n" to stdout sys exit " and exit 1: ; ;;