|
|
1.1 ! root 1: ! 2: #include "../machine/alignment.h" ! 3: shar(infop) process_info *infop; ! 4: /* ! 5: /* Shift arithmetic right (longword). ! 6: /* ! 7: /*******************************/ ! 8: { ! 9: register long Register_12; /* Has to be first reg ! */ ! 10: register long Register_11; ! 11: register long Register_10; ! 12: ! 13: Register_12 = operand(infop,0)->data; ! 14: Register_11 = operand(infop,1)->data; ! 15: Register_10=psl; ! 16: Set_psl(r10); /* restore the user psl */ ! 17: asm (" shar r12,r11,r10"); ! 18: asm (" movpsl r12"); ! 19: New_cc (Register_12); ! 20: write_back (infop, Register_10, operand(infop,2)); ! 21: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.