Advertisement
Guest User

Untitled

a guest
Sep 17th, 2020
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.51 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. asm("   .global _main               ");
  4. asm("   _main:                      ");
  5. asm("      addb  $1, foo            ");
  6. asm("                               ");
  7. asm("       push $foo               ");
  8. asm("       call _puts              ");
  9. asm("                               ");
  10. asm("       leave                   ");
  11. asm("       ret                     ");
  12. asm("   .section .data              ");
  13. asm("   foo:                        ");
  14. asm("       .string  \"Яблоко\"     ");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement