I've added a single-step mode to tools/a7out and rationalised the debug output.
Some small changes to src/cmd/cat.s and wktcat.s to reflect the correct number of arguments to open. Typos fixes to src/cmd/cat.s.
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ catfiles:
|
||||
dac name
|
||||
|
||||
" Open the file and get the fd into AC
|
||||
sys open; name:0; 0; 0
|
||||
sys open; name:0; 0;
|
||||
spa
|
||||
jmp badfile " Negative fd, exit with an error message
|
||||
dac fd " Save the file descriptor
|
||||
|
||||
Reference in New Issue
Block a user