Article ID | Journal | Published Year | Pages | File Type |
---|---|---|---|---|
423688 | Electronic Notes in Theoretical Computer Science | 2014 | 15 Pages |
Abstract
Formal verification of embedded software systems often requires a low-level representation of the program under scrutiny. It is often the case that the verification tools rely on ad-hoc encodings of particular assembly language semantics. In this paper we use the K framework to formally define a MIPS-based assembly language. Our proposed definition is modular in the sense that it accommodates various organizations for the storage-related aspects of the semantics. We also present how to instantiate our K language definition on two main memory models, corresponding to different representations of the assembly code. Such a formal language definition could be directly used by the program verification tools.
Related Topics
Physical Sciences and Engineering
Computer Science
Computational Theory and Mathematics