1
0
mirror of https://github.com/wfjm/w11.git synced 2026-01-29 05:21:54 +00:00
Files
wfjm.w11/tools/tests/divtst/data

divtst: data collection

divstst has been run on real PDP-11 CPUs as well as on simulated CPUs with the SimH and the e11 simulator. The results are available in

Case sim CPU Comment
2014-08-22_1170_btq real 11/70 from Johnny Billquist, node magica
2014-08-22_1193_btq real 11/93 (J11) from Johnny Billquist, node pontus
2014-08-22_e11_1174_btq e11 11/74 from Johnny Billquist, node mim
2014-08-22_simh_1194_btq SimH 11/94 (J11) from Johnny Billquist, node jocke
2022-08-11_w11a_wfjm w11a from wfjm

The file name encodes the approximate date of data taking (relevant for simulators which indeed change over time), the sim/CPU case, and the source of data.

Some findings

The N and Z condition codes and the registers are unspecified after an overflow abort of the DIV instruction. The only thing guaranteed is that V=1 and C=0. The seen responses for the unspecified parts are indeed different, a good example is

   ddh    ddl     dr : nzvc      q      r  remarks
177777 100000 177777 : 0110 000000 100000  real 11/70: Z=1, R0MOD
177777 100000 177777 : 0010 177777 100000  real 11/93: r0,r1 unchanged
177777 100000 177777 : 0010 100000 000000  e11  11/74: R0MOD R1MOD
177777 100000 177777 : 0010 177777 100000       w11a:  r0,r1 unchanged