Skip to content
This repository has been archived by the owner on Dec 12, 2022. It is now read-only.

Latest commit

 

History

History
33 lines (24 loc) · 414 Bytes

p_51.md

File metadata and controls

33 lines (24 loc) · 414 Bytes

5.1 Empty squeleton

Command to run the test (source code):

./chef.py test backend -bw doc/p_51.c
cat build/cpp-bin/assembly.s

Result :

.file  "p_51.c"
.text

.Ltext0:
  .globl main
  .type main, @function


main:
  pushq   %rbp
  movq    %rsp, %rbp
  subq $0, %rsp

  jmp    .L1_innerbeginof_main

.L1_innerbeginof_main:
  jmp    .L0_endof_main

.L0_endof_main:
  leave
  ret