• DocumentCode
    2136577
  • Title

    A partial-correctness semantics for modelling assembler programs

  • Author

    Watson, Geoffrey ; Fidge, Colin

  • Author_Institution
    Sch. of Inf. Technol. & Electr. Eng., Queensland Univ., Australia
  • fYear
    2003
  • fDate
    22-27 Sept. 2003
  • Firstpage
    82
  • Lastpage
    90
  • Abstract
    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.
  • Keywords
    formal specification; program assemblers; program compilers; program verification; programming language semantics; assembler level program; assembler program modelling; block-structured high-level language programs; compiler theory; formal model; partial-correctness semantics; precondition semantics; program compilation analysis; program paths; Assembly; Computer languages; Counting circuits; Emulation; High level languages; Information analysis; Information technology; Instruction sets; Program processors; Software engineering;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering and Formal Methods, 2003.Proceedings. First International Conference on
  • Conference_Location
    Brisbane, Queensland, Australia
  • Print_ISBN
    0-7695-1949-0
  • Type

    conf

  • DOI
    10.1109/SEFM.2003.1236210
  • Filename
    1236210