From mboxrd@z Thu Jan 1 00:00:00 1970 From: wkt@tuhs.org (Warren Toomey) Date: Fri, 2 May 2008 09:47:21 +1000 Subject: [TUHS] Query on PDP-11 assembly In-Reply-To: <2da2ec620804300741i1bd39a48lf5b5ba09830793b4@mail.gmail.com> References: <20080430115651.GA86539@minnie.tuhs.org> <48187A41.80105@coraid.com> <2da2ec620804300741i1bd39a48lf5b5ba09830793b4@mail.gmail.com> Message-ID: <20080501234721.GA77412@minnie.tuhs.org> On Wed, Apr 30, 2008 at 11:41:17PM +0900, Naoki Hamada wrote: > This technique was a very common one in assembler sources for PDP-11 > versions of UNIX. For example, m40.s of Version 6 UNIX shows a line > "jsr r0,call1; _trap" in its trap routine. I feel very funny to > tell this to Warren, the author of apout! Well, I borrowed the PDP-11 instruction simulaton code from Eric Edwards, and spent most of my time on emulating the syscalls, so there are still things I don't know! I've got the disassembler to a point where it works OK on the instructions, I haven't worked on the data side yet. I have put it aside for a bit, due to increasing frustration levels and other things to do. If someone wants a copy, e-mail me. Thanks for all your responses, they were very useful. Cheers, Warren