12 fprint( STDERR, "arg_error %s %d\n", s, arg);
21 if ( filename == (char *)0 || !sys_open( filename, OP_WRITE, &codefile))
24 fprint( codefile, ".sect .text; .sect .rom; .sect .data; .sect .bss\n");
31 __instr_code(code, reg, off)
33 if (off <= 32767 & off >= -32768) {
43 __move_X(code, reg, off)
45 if (off <= 32767 & off >= -32768) {
46 text2(code|(reg<<9)|0x140);
50 text2(code|(reg<<9)|0x180);
55 __moveXX(code, srcreg, srcoff, dstreg, dstoff)
57 if (srcoff <= 32767 && srcoff >= -32768) {
58 __move_X(code|0x28|srcreg, dstreg, dstoff);
61 if (dstoff <= 32767 && dstoff >= -32768) {
62 __instr_code(code|0x140|(dstreg<<9), srcreg, srcoff);
65 text2(code|(dstreg<<9)|srcreg|0x180|0x30);