'arithmetic calculations-assembly langugage
**main.asm**
%include "lib.asm"
section .text global _start
_start:
; ; YOUR CODE HERE! ;
; SAMPLE mov rdi, 65526 ; going to print 65536 call print_num ; print the number call print_lf ; move to next line
exit: mov rax, 60 ; exit mov rdi, 0 ; return code syscall
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
