As it is, I get:
hello.s:17: error: parser: instruction expected
and if I comment out (add ; at the beginning of)
line 17: group dgroup data bss
More context:
12 segment stack stack noprogbits align=16
13 resb 128
14 stacktop:
15 segment data public align=16
16 segment bss noprogbits public
17 group dgroup data bss
18 ; print_char workspace at ws+7 length ws+1
19 segment code
I then get with line 17 commented out: [running here in Linux because it is
easier
to copy results]
paul@Katarina:~/test$ nasm hello.s
hello.s:12: warning: ignoring unknown section attribute: "stack" [-w+other]
hello.s:12: warning: ignoring unknown section attribute: "noprogbits" [-w+other]
hello.s:15: warning: ignoring unknown section attribute: "public" [-w+other]
hello.s:16: warning: ignoring unknown section attribute: "noprogbits" [-w+other]
hello.s:16: warning: ignoring unknown section attribute: "public" [-w+other]
hello.s:12: warning: ignoring unknown section attribute: "stack" [-w+other]
hello.s:12: warning: ignoring unknown section attribute: "noprogbits" [-w+other]
hello.s:15: warning: ignoring unknown section attribute: "public" [-w+other]
hello.s:16: warning: ignoring unknown section attribute: "noprogbits" [-w+other]
hello.s:16: warning: ignoring unknown section attribute: "public" [-w+other]
hello.s:12: warning: ignoring unknown section attribute: "stack" [-w+other]
hello.s:12: warning: ignoring unknown section attribute: "noprogbits" [-w+other]
hello.s:15: warning: ignoring unknown section attribute: "public" [-w+other]
hello.s:16: warning: ignoring unknown section attribute: "noprogbits" [-w+other]
hello.s:16: warning: ignoring unknown section attribute: "public" [-w+other]
hello.s:7: error: symbol `dgroup' undefined
hello.s:12: warning: ignoring unknown section attribute: "stack" [-w+other]
hello.s:12: warning: ignoring unknown section attribute: "noprogbits" [-w+other]
hello.s:13: warning: uninitialized space declared in stack section: zeroing
[-w+other]
hello.s:15: warning: ignoring unknown section attribute: "public" [-w+other]
hello.s:16: warning: ignoring unknown section attribute: "noprogbits" [-w+other]
hello.s:16: warning: ignoring unknown section attribute: "public" [-w+other]
hello.s:22: error: label `f13_print_char' changed during code generation
[-w+error=label-redef-late]
hello.s:27: error: label `c08_0004' changed during code generation
[-w+error=label-redef-late]
hello.s:31: error: label `c08_0005' changed during code generation
[-w+error=label-redef-late]
hello.s:32: error: label `c08_0001' changed during code generation
[-w+error=label-redef-late]
hello.s:36: error: label `end_f13_print_char' changed during code generation
[-w+error=label-redef-late]
hello.s:42: error: label `f15_print' changed during code generation
[-w+error=label-redef-late]
hello.s:44: error: label `c08_000d' changed during code generation
[-w+error=label-redef-late]
hello.s:51: error: label `c08_0012' changed during code generation
[-w+error=label-redef-late]
hello.s:53: error: label `c08_0013' changed during code generation
[-w+error=label-redef-late]
hello.s:54: error: label `c08_000f' changed during code generation
[-w+error=label-redef-late]
hello.s:61: error: label `c08_000e' changed during code generation
[-w+error=label-redef-late]
hello.s:62: error: label `end_f15_print' changed during code generation
[-w+error=label-redef-late]
hello.s:71: error: label `f9___main' changed during code generation
[-w+error=label-redef-late]
hello.s:76: error: label `end_f9___main' changed during code generation
[-w+error=label-redef-late]
hello.s:80: warning: uninitialized space declared in bss section: zeroing
[-w+other]
paul@Katarina:~/test$
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel