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");
30 #define FL_MSL_AT_LOW_ADDRESS 1
31 #define FL_MSW_AT_LOW_ADDRESS 1
32 #define FL_MSB_AT_LOW_ADDRESS 1
35 __instr_code(code, reg, off)
37 if (off <= 32767 & off >= -32768) {
47 __move_X(code, reg, off)
49 if (off <= 32767 & off >= -32768) {
50 text2(code|(reg<<9)|0x140);
54 text2(code|(reg<<9)|0x180);
59 __moveXX(code, srcreg, srcoff, dstreg, dstoff)
61 if (srcoff <= 32767 && srcoff >= -32768) {
62 __move_X(code|0x28|srcreg, dstreg, dstoff);
65 if (dstoff <= 32767 && dstoff >= -32768) {
66 __instr_code(code|0x140|(dstreg<<9), srcreg, srcoff);
69 text2(code|(dstreg<<9)|srcreg|0x180|0x30);