Started work on PDP-10 logical operations

This commit is contained in:
Jeff 2017-03-03 11:30:34 -08:00 • committed by Jeff Parsons
commit 616f9d4cda
7 changed files with 468 additions and 503 deletions

View file

@ -1043,7 +1043,7 @@ class PanelPDP10 extends Component {
*/
updateData(value)
{
this.regData = value % PDP10.DATA_LIMIT;
this.regData = value % PDP10.WORD_LIMIT;
if (this.ledData !== this.regData) {
this.ledData = this.regData;
this.updateLEDArray("D", this.ledData, 16);