A partial-correctness semantics for modelling assembler programs


Autoria(s): Watson, G. N.; Fidge, C. J.
Contribuinte(s)

A. Cerone

P. Lindsay

Data(s)

01/01/2003

Resumo

Previous work on formally modelling and analysing program compilation has shown the need for a simple and expressive semantics for assembler level programs. Assembler programs contain unstructured jumps and previous formalisms have modelled these by using continuations, or by embedding the program in an explicit emulator. We propose a simpler approach, which uses techniques from compiler theory in a formal setting. This approach is based on an interpretation of programs as collections of program paths, each of which has a weakest liberal precondition semantics. We then demonstrate, by example, how we can use this formalism to justify the compilation of block-structured high-level language programs into assembler.

Identificador

http://espace.library.uq.edu.au/view/UQ:98503

Idioma(s)

eng

Publicador

IEEE Computer Society

Palavras-Chave #Formal specification #Program assemblers #Program compilers #Program verification #E1 #280403 Logics and Meanings of Programs #700199 Computer software and services not elsewhere classified
Tipo

Conference Paper