Added support for future PDP-10 MACRO-10 assembler

This commit is contained in:
Jeff 2017-03-10 10:28:32 -08:00 committed by Jeff Parsons
commit fcee8a2838
7 changed files with 366 additions and 224 deletions

View file

@ -6325,7 +6325,7 @@ PDP10.merge72 = function(dst, ext)
/*
* Let's assert that the sign bits of both halves match.
*/
Component.assert(sign == (dst - (dst % PDP10.INT_LIMIT)), "sign mismatch");
this.assert(sign == (dst - (dst % PDP10.INT_LIMIT)), "sign mismatch");
/*
* Compute value without the sign bit and add the low bit of extended in its place.