[pdp7-unix] moo and debugging assembly in unix v0

Phil Budne phil at ultimate.com
Sun Oct 20 12:16:29 AEST 2019


> Also, is Warren's asm_syntax note the best place to look for 
> understanding the syntax or is there a better doc in PDP7 land?

It's the best intro I know of...

> Along these lines is there a "how to debug an asm file in unix v7 or
> pdp7-unix?

Warren's a7out program (user mode simulation in Perl) allows debugging.
Looks like the -n option reads a namelist, -b sets a breakpoint, -d
gives an execution trace.

Another way is to use simh breakpoints and step commands.
User code begins at location 4096 (010000) so if login,
escape back to simh, set the breakpoint, continue simh,
and then run the program you want to debug, you should
hit the breakpoint in the new process.


More information about the pdp7-unix mailing list