1*29603Ssam /* Adec.c 1.1 86/07/20 */ 2*29603Ssam 3*29603Ssam #include "../tahoealign/align.h" 4*29603Ssam dec(infop) process_info *infop; 5*29603Ssam /* 6*29603Ssam /* Decrement operand. 7*29603Ssam /* 8*29603Ssam /***************************************/ 9*29603Ssam { 10*29603Ssam register long Register_12; /* Has to be first reg ! */ 11*29603Ssam register long Register_11; 12*29603Ssam 13*29603Ssam Register_11 = operand(infop,0)->data; 14*29603Ssam Register_12=psl; 15*29603Ssam Set_psl(r12); /* restore the user psl */ 16*29603Ssam asm (" decl r11"); /* Make sure to use the 17*29603Ssam * right opcode */ 18*29603Ssam asm (" movpsl r12"); 19*29603Ssam New_cc (Register_12); 20*29603Ssam 21*29603Ssam write_back (infop,Register_11, operand(infop,0) ); 22*29603Ssam } 23