Uxnasm should use BE to store addresses
This commit is contained in:
parent
d4c55e2f48
commit
2f3954d398
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue