... variant1
Written by Alan R. Baldwin at Kent State University and placed in the public domain.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
... Ryerson.)2
Appendix B describes other versions of 6811 assembly language.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
...asmdoc3
The asmdoc tool is described in Appendix A.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
... Y4
The implementor of strlen is probably thinking that the registers used by the subroutine can be pushed onto the stack before use and their values can be restored by popping them off before returning, hence avoiding side effects. The implementor of strcpy, on the other hand, is probably thinking this is the caller's responsibility and the subroutine will work faster without the pushing and popping. There are valid arguments for either convention, but there is little justification for not using a single convention for closely related routines in the same module.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
... characters5
Hence symbols like EXPECTED_AVG_LETTER_GRADE and EXPECTED_AVG_PERCENT_GRADE may cause problems. In the DECUS environment, the symbols are treated as distinct only within a module; if they were global, their names would conflict because they do not differ in the first 8 characters.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Ken Clowes
2000-11-11