emit4(brtyp | link | maskx(d, 24));
}
-data(opc, ins, val, typ) long opc, ins;
-valu_t val;
-short typ;
+void data(long opc, long ins, valu_t val, short typ)
{
valu_t tmpval;
int adrflag = 0;
12-bit field. Unfortunately this means that some numbers may not fit at
all. */
-calcimm(opc, val, typ)
- word_t* opc;
-valu_t* val;
-short typ;
+void calcimm(word_t* opc, valu_t* val, short typ)
{
int i = 0;
still use two instructions; the second is a no-op. This is to cure the
optimisation problem with mobile addresses ! */
-calcadr(ins, reg, val, typ)
- word_t ins,
- reg;
-valu_t val;
-short typ;
+void calcadr(word_t ins, word_t reg, valu_t val, short typ)
{
valu_t tmpval = val;
word_t opc = 0xff; /* Dummy opc used as a flag for data() */
return;
}
-word_t
- calcshft(val, typ, styp)
- valu_t val;
-short typ;
-word_t styp;
+word_t calcshft(valu_t val, short typ, word_t styp)
{
if (typ == S_UND)
return (0);
return ((val & 0x1F) << 7);
}
-rotateleft2(x) long* x;
+void rotateleft2(long* x)
{
unsigned long bits;
less instruction, because that will upset other addresses.
*/
-putaddr(opc, ins, val, count) long opc, ins, val;
-int count;
+void putaddr(long opc, long ins, long val, int count)
{
long tmpval = val;
long reg = ins & 0x0000F000;
#define PBITTABSZ 128
static char* pbittab[PBITTABSZ];
-oursmall(fitsmall, gain)
+int oursmall(int fitsmall, int gain)
{
register bit;
register char* p;