Annotation of cci/sys/tahoe/Awrite_long.c, revision 1.1.1.1

1.1       root        1: #include       "../machine/alignment.h"
                      2: 
                      3: write_longword (infop, longword, where)
                      4: process_info   *infop;
                      5: long           longword;
                      6: struct oprnd   *where;
                      7: /*
                      8: /*     Put the longword at the given address in
                      9: /*     tahoe's memory.
                     10: /*
                     11: /**************************************************/
                     12: {
                     13:        if (! (where->mode & W)) exception(infop, ILL_ADDRMOD);
                     14:        switch (where->mode & ADDFIELD) /* Mask out R/W bits */
                     15:        {
                     16:        case Add:
                     17:        case SPmode:
                     18:                put_longword (infop, longword, where->address);
                     19:                break;
                     20:        case Dir:
                     21:                Replace (infop, where->reg_number, longword);
                     22:                break;
                     23:        default:
                     24:                printf("Unknown destination in write_long (alignment code)\n");
                     25:        };
                     26: }      

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.