|
|
1.1 ! root 1: #include "../machine/alignment.h" ! 2: ! 3: write_back(infop,value, where) ! 4: process_info *infop; ! 5: long value; ! 6: struct oprnd *where; ! 7: /* ! 8: /* Put the given result where the operand specifies. ! 9: /* ! 10: /* ! 11: /**************************************************/ ! 12: { ! 13: switch (where->length) ! 14: { ! 15: case 1: write_byte (infop,value, where); break; ! 16: case 2: write_word (infop,value, where); break; ! 17: case 4: write_longword (infop,value, where); break; ! 18: case 8: write_quadword (infop,value, where); break; ! 19: default : printf ("Wrong destination length in alignment\n"); ! 20: } ! 21: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.