<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Not sure if you are interested but I found that simh fails test 14. (Running the tests on my own emu project and wondered if simh would pass all of these nasty tests too)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">007176: 010700                              mov       r7,r0                                       ; @.<o:p></o:p></p>
<p class="MsoNormal">007200: 012700 006340               mov       #6340,r0                               ; @.`.<o:p></o:p></p>
<p class="MsoNormal">007204: 010020                              mov       r0,(r0)+                 ; ..<o:p></o:p></p>
<p class="MsoNormal">007206: 026727 177126 006342                 cmp       6340,#6342                         ; W-V~b.<o:p></o:p></p>
<p class="MsoNormal">007214: 001401                              beq        7220                                       ; ..<o:p></o:p></p>
<p class="MsoNormal">007216: 000000                              halt                                                        ; ..<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">If you don’t know these test the general layout is as follows<o:p></o:p></p>
<p class="MsoNormal">Load pc in r0 (presumably to identify the test if a halt occurs)<o:p></o:p></p>
<p class="MsoNormal">Run the test<o:p></o:p></p>
<p class="MsoNormal">Halt if fail<o:p></o:p></p>
<p class="MsoNormal">Next test<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Simh halts at 7220<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">This test is verifying the behavior of using the contents of an auto increment register. IE exactly when does the register change value in the instruction flow<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Mov r0,(r0)+<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Their test expects the value moved to DD to be the new value of R0. Ie the incremented register value is committed as soon as it is used to calculate the address<o:p></o:p></p>
<p class="MsoNormal">Simh(v4) (running as 11/05 not tried other models) moves the old value. Ie the register update is not processed until the instruction is complete<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">sim> e r0<o:p></o:p></p>
<p class="MsoNormal">R0:     006342<o:p></o:p></p>
<p class="MsoNormal">sim> e 6340<o:p></o:p></p>
<p class="MsoNormal">6340:   006340<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>