From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 1164f8,5cdb0c1dbaceb85b X-Google-NewGroupId: yes X-Google-Attributes: gidd180ab3bd8,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.189.72 with SMTP id gg8mr13670527pbc.4.1328611571726; Tue, 07 Feb 2012 02:46:11 -0800 (PST) Path: lh20ni270173pbb.0!nntp.google.com!news2.google.com!eweka.nl!lightspeed.eweka.nl!194.109.133.84.MISMATCH!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!news.stack.nl!newsfeed.Update.UU.SE!news.Update.UU.SE!not-for-mail From: Johnny Billquist Newsgroups: comp.sys.dec Subject: Re: PDP11 Values from MFPT Date: Tue, 07 Feb 2012 11:46:10 +0100 Organization: Update Computer Club Message-ID: References: <4f12e49d$0$295$14726298@news.sunsite.dk> <4f175c07.15409279@nntp.aioe.org> <4f20c6e3$0$284$14726298@news.sunsite.dk> <4f215614.266356@nntp.aioe.org> <4f24a237$0$295$14726298@news.sunsite.dk> <4f2537ed.51306295@nntp.aioe.org> <4f28b73b$0$290$14726298@news.sunsite.dk> <4f291473.18988613@nntp.aioe.org> <4f2a3a1e.28631752@nntp.aioe.org> <4f2a8c5a.52418379@nntp.aioe.org> <4375910.1317.1328283383312.JavaMail.geo-discussion-forums@vbcj7> NNTP-Posting-Host: 2620:0:105f:b:462a:60ff:fefb:aad8 Mime-Version: 1.0 X-Trace: Iltempo.Update.UU.SE 1328611571 26417 2620:0:105f:b:462a:60ff:fefb:aad8 (7 Feb 2012 10:46:11 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Tue, 7 Feb 2012 10:46:11 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 In-Reply-To: <4375910.1317.1328283383312.JavaMail.geo-discussion-forums@vbcj7> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2012-02-03 16.36, Joe Oswald wrote: > On Thursday, February 2, 2012 7:16:26 PM UTC-5, Johnny Billquist wrote: > >> It might be that the determinism of the whole things is rather complex, >> but it is deterministic. A CPU is, after all, just a finite state >> machine. There is nothing undeterministic when you go down to the bottom >> of it all. There are ones and zeroes. There are gates, with functions >> like "AND", "OR", "NOT" and so on. And they are all behaving in a very >> deterministic way. > > The logic is not just combinational; there is plenty of register state and internal buses in a CPU. An undefined opcode could definitely trigger micro- or nano-code (aside, I know nothing about PDP-11 internals) that does "bad" things like drive two registers simultaneously onto an internal bus, or latches a value from a bus that is floating. The result of these is "deterministic" in the sense of physics, but not in terms of digital logic. A floating bus might or might not have a valid logic value; that depends on the internal history (the last valid value driven, and what exact voltage that driver used) analog conditions (capacitance& leakage) and timing that are outside the digital definitions. Two outputs fighting one another might have a deterministic outcome, or a fight between driving low& driving high might leave the line in the range of voltages that aren't defined as either low or high, and anything reading from this voltage has no guarantees about what it does. In general you are right in that there could be states that basically ends up driving nothing, and reading a floating value. For opcodes, the PDP-11 traps all of those, for example, so they do not cause this. The same with memory references to memory that don't exist. The PDP-11 in general does never "just read" something. It's all handshaking protocols, which will detect if you try address non-existing memory or devices. Johnny