File tree Expand file tree Collapse file tree 3 files changed +5
-16
lines changed Expand file tree Collapse file tree 3 files changed +5
-16
lines changed Original file line number Diff line number Diff line change @@ -339,8 +339,7 @@ lookup_device (int number, int cpu_model)
339339static const struct its_oper *
340340lookup_oper (word_t word , struct its_oper * table , int size )
341341{
342- unsigned int i ;
343- int e ;
342+ int i , e ;
344343
345344 e = E (word );
346345
Original file line number Diff line number Diff line change @@ -492,6 +492,8 @@ dmp_info (struct pdp10_memory *memory, int cpu_model)
492492 word_t jbsa , jbda , jbsym ;
493493 int p ;
494494
495+ (void )cpu_model ;
496+
495497 /* For the PDP-6 monitor, JBSA is the start address. */
496498 jbsa = get_word_at (memory , 0120 );
497499 fprintf (output_file , "Start address (PDP-6): %06llo\n" , jbsa & 0777777 );
@@ -625,7 +627,7 @@ ntsddt_info (struct pdp10_memory *memory, int ddt)
625627 a = get_word_at (memory , a );
626628 syms = a >> 18 ;
627629 if (syms & 0400000 )
628- syms |= -1 << 18 ;
630+ syms |= ~ 0U << 18 ;
629631 syms = - syms ;
630632 a &= 0777777 ;
631633
Original file line number Diff line number Diff line change @@ -240,19 +240,7 @@ instruction_execution (word_t instruction)
240240 case 000 : /* JRST */ return 110 ;
241241 case 001 : /* PORTAL */ return 110 ;
242242 case 002 : /* JRSTF */ return 220 ;
243- case 003 : return -1000000 ;
244- case 004 : return -1000000 ;
245- case 005 : return -1000000 ;
246- case 006 : return -1000000 ;
247- case 007 : return -1000000 ;
248- case 010 : return -1000000 ;
249- case 011 : return -1000000 ;
250- case 012 : return -1000000 ;
251- case 013 : return -1000000 ;
252- case 014 : return -1000000 ;
253- case 015 : return -1000000 ;
254- case 016 : return -1000000 ;
255- case 017 : return -1000000 ;
243+ default : return -1000000 ;
256244 }
257245 case 0255 : /* JFCL */ return 110 ;
258246 case 0256 : /* XCT */ return 110 ;
You can’t perform that action at this time.
0 commit comments