Uxnasm should use BE to store addresses

This commit is contained in:
neauoire 2022-12-09 12:52:34 -08:00
parent d4c55e2f48
commit 2f3954d398
1 changed files with 2 additions and 1 deletions

View File

@ -456,7 +456,8 @@ writesym(char *filename)
int i;
if(fp != NULL) {
for(i = 0; i < p.llen; i++) {
fwrite(&p.labels[i].addr, 2, 1, fp);
fwrite(&p.labels[i].addr + 1, 1, 1, fp);
fwrite(&p.labels[i].addr, 1, 1, fp);
fwrite(p.labels[i].name, slen(p.labels[i].name) + 1, 1, fp);
}
}