Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
First Program Lab
;nasm global _start section .data message: db 'Hello world!',10 ; 'Hello world!' plus a linefeed character section .text _start: mov rax,1 ; The system call for write mov rdi,1 ; argument #1 in rdi, where to write mov rsi, message ; argument #2 in rsi: where does the string start mov rdx,14 ; argument #3 in rdx: how many bytes to write syscall ; this instruction invokes a system call
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Frequency_of_an_element_from_an_array
Assembly : Allocating Storage Space
Lec4b
FirstProgramLab
Counting from 0 to 10
cmsc313 first Assembly Program Group Lab
displaying nine stars
mortgage
pushpop.asm
Hello
Please log in to post a comment.