Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site hocda.UUCP Path: utzoo!watmath!clyde!burl!hou3c!hocda!grt From: grt@hocda.UUCP (G.TOMASEVICH) Newsgroups: net.unix Subject: More on real time on PDP11, Assembler vs C Message-ID: <422@hocda.UUCP> Date: Wed, 2-May-84 18:32:40 EDT Article-I.D.: hocda.422 Posted: Wed May 2 18:32:40 1984 Date-Received: Fri, 4-May-84 01:07:06 EDT Organization: AT&T Bell Labs, Holmdel, NJ Lines: 12 In my previous article noting that I ran DR11-W's at 8 kHz, that was the rate of transferring 16-bit words. It happens that the output included mu-law speech in one byte (this is telephony work), and the input was processed speech and other data. The only assembly code I used was for the C program interfaces to the three additional system calls, and these were modeled after 'ustat'. The tight loop that tested for DR11-W ready, then restarted it, took about 60 microsec on the average. It used register variables and included a counter to bail out in case the DR11-W went dead. I watched the DR11-W ready bits with a storage 'scope to make sure it worked. The 'scope was the most useful software debugging tool. George Tomasevich, AT&T Bell Laboratories