Moderators: david ward, misra cpp
- Posts: 7
- Joined: Tue May 01, 2018 9:34 am
- Company: TomTom
Rule 7-4-1 states that all usage of assembler shall be documented.
There are two ways that I could interpret this rule - and I was wondering which of these two was meant:
- That a cross-reference document is kept stating where assembly language is used.
- That all assembly language is documented with pseudo-code (or similar) such that it could be re-implemented in assembly language for a different processor (or even C/C++).
Is there any clarification about this available?
- Posts: 148
- Joined: Mon Jun 02, 2008 1:55 pm
- Company: MISRA
No, there isn't any guidance for this rule, as it felt to be too dependant upon the developer's processes.
If you need to use assembler, we'd expect you to produce a company/project policy to define the level and form of documentation required to satisfy your customers and/or certification body
Posted by and on behalf of
the MISRA C++ Working Group