.globl main
.type main, @function

.text
main:
  mov $msg, %rdi
  call puts

  mov $msg2, %rdi
  call my_print

  mov $7, %rdi
  call square

  mov %rax, %rdi
  mov $60, %rax
  syscall

.size main, .-main


.section .rodata
msg:
  .asciz "hello, world"

.size msg, .-msg

msg2:
  .asciz "salam, man mohsen hastam\n"

.size msg2, .-msg2
