>paramucho wrote: >On Wed, 25 Jan 2012 22:22:05 -0500, "Jerome H. Fine" wrote: > >>I don't think that the about properties (or at least how >>the PDP-11 instructions react to the above code) has >>been documented under Ersatz-11. I would imagine >>that the source code could be used under SIMH to >>figure out why the above code is needed. >> >>I am VERY curious!!!!!!!!! How did you figure out the >>code for Ersatz-11? Did John Wilson help? Does the >>above code still work with V6.0 of E11? >> >I didn't use the source code for SimH. It's often easier to use a >debugger to "read" the system behavior than it is to hunt through >sources. I just experimented until I found a suitable test. I also >tested on real F11 and J11 systems. > >The trick was to find some "undefined" behavior that didn't need >correction. The code above gets different results from an F11 and a >J11 as well as from SimH and E11. The test is far from ideal, but it >works well enough for my purposes. > >The test works with V6.0 of E11. > After you "found" the way that SIMH can be tested for, were you able to verify that from the source code. To say the least, the activity that you found is VERY unexpected!!!!!!!!! Also, what led you to attempt to use the hardware in that manner. It does not seem very obvious as to why the hardware registers (software in the case of a software emulator as opposed to a real DEC CPU) would behave in that fashion. Can anyone else verify what Ian found? Jerome Fine