"Commented" SROFF Example from GST Macro Assembler Manual
Posted: Wed Aug 19, 2020 3:20 pm
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):
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