section .data
msg db "Hello world!", 0ah
; x = a+b * c
; macchina registro-registro
section .text
global _start
_start:
load rax, b
load rbx, c
mul rax, rax, rbx
load rbx, a
add rax, rax, rbx
store x, rax
syscall
mov rax, 60
mov rdi, 0
syscall
To embed this project on your website, copy the following code and paste it into your website's HTML: