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