Several fixes
This commit is contained in:
parent
ae063bd74f
commit
84e6e1a10b
|
@ -69,9 +69,9 @@ struct instr_t {
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
typedef struct instr_t instr_t;
|
typedef struct instr_t instr_t;
|
||||||
instr_t instr[30]; /* temporary area for instructions */
|
extern instr_t instr[30]; /* temporary area for instructions */
|
||||||
instr_t *instrp; /* index into instr[] */
|
extern instr_t *instrp; /* index into instr[] */
|
||||||
int dot_offset;
|
extern int dot_offset;
|
||||||
|
|
||||||
/* flags used when reading effective addresses */
|
/* flags used when reading effective addresses */
|
||||||
#define INDEX 0300
|
#define INDEX 0300
|
||||||
|
|
|
@ -51,7 +51,8 @@ short word;
|
||||||
instrp->i_relotype = relotype;
|
instrp->i_relotype = relotype;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
instrp++->i_word = word;
|
instrp->i_word = word;
|
||||||
|
instrp++;
|
||||||
dot_offset += 2;
|
dot_offset += 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue