Implemented all four primary half-word moves (HLL, HLR, HRL, HRR) but none of the flavors (Z, O, E); need to test the primary instructions first

This commit is contained in:
Jeff Parsons 2017-02-27 09:50:28 -08:00 • committed by Jeff Parsons
commit 0255b7b891
7 changed files with 507 additions and 359 deletions

View file

@ -100,7 +100,8 @@ var PDP10 = {
ADDR_MASK: Math.pow(2, 18) - 1,
DATA_INVALID: -1,
DATA_LIMIT: Math.pow(2, 36),
RHWORD_MASK: 0o777777,
WORD_SHIFT: Math.pow(2, 18),
WORD_MASK: 0o777777,
/*
* PDP-10 opcodes are 36-bit values, most of which use the following layout: