waf

FORK: waf with some random patches
git clone https://git.neptards.moe/neptards/waf.git
Log | Files | Refs | README

test.S (249B)


      1 #include "header.h"
      2 
      3 .text
      4 .align 2
      5 
      6 .section .data
      7 
      8 val:
      9  .long SOME_VALUE
     10 
     11 // Multiply input value by 421...
     12 .global mult10
     13 .type mult10, function
     14 mult10:
     15 	pushq    %rbp
     16 	movq     %rsp,%rbp
     17 
     18 	movabs val,%eax
     19 	imull %edi,%eax
     20 
     21 	popq     %rbp
     22 	ret
     23