diff --git a/util/ceg/ce_back/as_back/con1.c b/util/ceg/ce_back/as_back/con1.c index df74cef3..4b8bfd5f 100644 --- a/util/ceg/ce_back/as_back/con1.c +++ b/util/ceg/ce_back/as_back/con1.c @@ -1,7 +1,7 @@ #include "header.h" con1( w) -arith w; +ONE_BYTE w; { gen1( w); } diff --git a/util/ceg/ce_back/as_back/con2.c b/util/ceg/ce_back/as_back/con2.c index 258bdc40..b7c93bdd 100644 --- a/util/ceg/ce_back/as_back/con2.c +++ b/util/ceg/ce_back/as_back/con2.c @@ -1,7 +1,7 @@ #include "header.h" con2( w) -arith w; +TWO_BYTES w; { gen2( w); } diff --git a/util/ceg/ce_back/as_back/con4.c b/util/ceg/ce_back/as_back/con4.c index 9b806b59..67582329 100644 --- a/util/ceg/ce_back/as_back/con4.c +++ b/util/ceg/ce_back/as_back/con4.c @@ -1,7 +1,7 @@ #include "header.h" con4( w) -arith w; +FOUR_BYTES w; { gen4( w); } diff --git a/util/ceg/ce_back/as_back/gen1.c b/util/ceg/ce_back/as_back/gen1.c index 83c77e52..6655466e 100644 --- a/util/ceg/ce_back/as_back/gen1.c +++ b/util/ceg/ce_back/as_back/gen1.c @@ -1,14 +1,14 @@ #include "header.h" gen1( w) -arith w; +ONE_BYTE w; { switch ( cur_seg) { - case SEGTXT : fprint( codefile, BYTE_FMT, (arith) w); + case SEGTXT : fprint( codefile, BYTE_FMT, (long) w); break; - case SEGCON : fprint( codefile, BYTE_FMT, (arith) w); + case SEGCON : fprint( codefile, BYTE_FMT, (long) w); break; - case SEGROM : fprint( codefile, BYTE_FMT, (arith) w); + case SEGROM : fprint( codefile, BYTE_FMT, (long) w); break; case SEGBSS : bss( (arith) 1); break; diff --git a/util/ceg/ce_back/as_back/gen2.c b/util/ceg/ce_back/as_back/gen2.c index 6af489e5..43ecd023 100644 --- a/util/ceg/ce_back/as_back/gen2.c +++ b/util/ceg/ce_back/as_back/gen2.c @@ -1,14 +1,14 @@ #include "header.h" gen2( w) -arith w; +TWO_BYTES w; { switch ( cur_seg) { - case SEGTXT : fprint( codefile, WORD_FMT, (arith) w); + case SEGTXT : fprint( codefile, WORD_FMT, (long) w); break; - case SEGCON : fprint( codefile, WORD_FMT, (arith) w); + case SEGCON : fprint( codefile, WORD_FMT, (long) w); break; - case SEGROM : fprint( codefile, WORD_FMT, (arith) w); + case SEGROM : fprint( codefile, WORD_FMT, (long) w); break; case SEGBSS : bss( (arith) 2); break; diff --git a/util/ceg/ce_back/as_back/gen4.c b/util/ceg/ce_back/as_back/gen4.c index 3209f658..80f231a5 100644 --- a/util/ceg/ce_back/as_back/gen4.c +++ b/util/ceg/ce_back/as_back/gen4.c @@ -1,14 +1,14 @@ #include "header.h" gen4( w) -arith w; +FOUR_BYTES w; { switch ( cur_seg) { - case SEGTXT : fprint( codefile, LONG_FMT, (arith) w); + case SEGTXT : fprint( codefile, LONG_FMT, (long) w); break; - case SEGCON : fprint( codefile, LONG_FMT, (arith) w); + case SEGCON : fprint( codefile, LONG_FMT, (long) w); break; - case SEGROM : fprint( codefile, LONG_FMT, (arith) w); + case SEGROM : fprint( codefile, LONG_FMT, (long) w); break; case SEGBSS : bss( (arith) 4); break; diff --git a/util/ceg/ce_back/as_back/reloc1.c b/util/ceg/ce_back/as_back/reloc1.c index 24557b8e..a32fb61e 100644 --- a/util/ceg/ce_back/as_back/reloc1.c +++ b/util/ceg/ce_back/as_back/reloc1.c @@ -5,5 +5,5 @@ char *s; arith o; int r; { - fprint( codefile, RELOC1_FMT, s, (arith) o); + fprint( codefile, RELOC1_FMT, s, (long) o); } diff --git a/util/ceg/ce_back/as_back/reloc2.c b/util/ceg/ce_back/as_back/reloc2.c index 85a4485a..e07d35fe 100644 --- a/util/ceg/ce_back/as_back/reloc2.c +++ b/util/ceg/ce_back/as_back/reloc2.c @@ -5,5 +5,5 @@ char *s; arith o; int r; { - fprint( codefile, RELOC2_FMT, s, (arith) o); + fprint( codefile, RELOC2_FMT, s, (long) o); } diff --git a/util/ceg/ce_back/as_back/reloc4.c b/util/ceg/ce_back/as_back/reloc4.c index 773231d3..14d6ad8e 100644 --- a/util/ceg/ce_back/as_back/reloc4.c +++ b/util/ceg/ce_back/as_back/reloc4.c @@ -5,5 +5,5 @@ char *s; arith o; int r; { - fprint( codefile, RELOC4_FMT, s, (arith) o); + fprint( codefile, RELOC4_FMT, s, (long) o); } diff --git a/util/ceg/ce_back/as_back/rom1.c b/util/ceg/ce_back/as_back/rom1.c index dec8207f..41ece4a6 100644 --- a/util/ceg/ce_back/as_back/rom1.c +++ b/util/ceg/ce_back/as_back/rom1.c @@ -1,7 +1,7 @@ #include "header.h" rom1( w) -arith w; +ONE_BYTE w; { gen1( w); } diff --git a/util/ceg/ce_back/as_back/rom2.c b/util/ceg/ce_back/as_back/rom2.c index f6411861..32e68f2c 100644 --- a/util/ceg/ce_back/as_back/rom2.c +++ b/util/ceg/ce_back/as_back/rom2.c @@ -1,7 +1,7 @@ #include "header.h" rom2( w) -arith w; +TWO_BYTES w; { gen2( w); } diff --git a/util/ceg/ce_back/as_back/rom4.c b/util/ceg/ce_back/as_back/rom4.c index 89eca333..5713c541 100644 --- a/util/ceg/ce_back/as_back/rom4.c +++ b/util/ceg/ce_back/as_back/rom4.c @@ -1,7 +1,7 @@ #include "header.h" rom4( w) -arith w; +FOUR_BYTES w; { gen4( w); } diff --git a/util/ceg/ce_back/as_back/text1.c b/util/ceg/ce_back/as_back/text1.c index d95be856..daf9f575 100644 --- a/util/ceg/ce_back/as_back/text1.c +++ b/util/ceg/ce_back/as_back/text1.c @@ -1,7 +1,7 @@ #include "header.h" text1( w) -arith w; +ONE_BYTE w; { gen1( w); } diff --git a/util/ceg/ce_back/as_back/text2.c b/util/ceg/ce_back/as_back/text2.c index 6ec0d1c8..cc3f9794 100644 --- a/util/ceg/ce_back/as_back/text2.c +++ b/util/ceg/ce_back/as_back/text2.c @@ -1,7 +1,7 @@ #include "header.h" text2( w) -arith w; +TWO_BYTES w; { gen2( w); } diff --git a/util/ceg/ce_back/as_back/text4.c b/util/ceg/ce_back/as_back/text4.c index 9d033bdf..68bc2efc 100644 --- a/util/ceg/ce_back/as_back/text4.c +++ b/util/ceg/ce_back/as_back/text4.c @@ -1,7 +1,7 @@ #include "header.h" text4( w) -arith w; +FOUR_BYTES w; { gen4( w); }