Page 1 of 1

"Commented" SROFF Example from GST Macro Assembler Manual

Posted: Wed Aug 19, 2020 3:20 pm
by ql_freak
I "commented" it in the printed manual (see attachements, comments are readable if you open the pictures in a new tab). The example program and the resulting SROFF data is in appendix B.2 from page 42 to 44.

I mostly understand the SROFF output, but don't understand the 2 SECTION directives. Page 37 says the section directive is FB 04 but in the example FB 02 (which is the comment directive according to page 36) is used. The question is: Which part is wrong the description (page 36, 37) or the example?

Also there is an error in the example SROFF for the JSR line: Must be 4EBA (instead of 4ECA, see also program listing on page 42):

Code: Select all

0100111010     111010
JSR signature  adressing mode PC relative with displacement

Re: "Commented" SROFF Example from GST Macro Assembler Manual

Posted: Wed Aug 19, 2020 9:17 pm
by mk79
Easy, just look at any real-world _REL file. It's FB 04. Cheers.

Re: "Commented" SROFF Example from GST Macro Assembler Manual

Posted: Sun Aug 23, 2020 4:05 am
by ql_freak
Thank You!