|
|
1.1 ! root 1: #include "../machine/alignment.h" ! 2: movzb(infop) process_info *infop; ! 3: /* ! 4: /* Move byte to word or longword, zero-extended ! 5: /* ! 6: /****************************************/ ! 7: { ! 8: register long result; ! 9: register struct oprnd *oppnt; ! 10: ! 11: oppnt = operand(infop,0); ! 12: result = oppnt->data; ! 13: negative_0; ! 14: if (result == 0 ) zero_1 ; else zero_0; ! 15: overflow_0; carry_1; ! 16: if ((oppnt->mode & 0xff) == Dir) ! 17: write_back (infop, result , operand(infop,1) ); ! 18: else write_back (infop, result & 0xff, operand(infop,1) ); ! 19: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.