Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
displaying 9 stars
;nasm 2.11.08 section .text global _start ;must be declared for linker (ld) _start: ;tells the linker where to start mov edx,len ;message length mov ecx,msg ;message to write mov ebx,1 ;file descriptor(stdout) mov eax,4 ;system call number(sys_write) int 0x80 ;call kernel mov edx,9 ;message length mov ecx,s2 ;message to write mov ebx,1 ;file descriptor(stdout) mov eax,4 ;system call number(sys_write) int 0x80 ;call kernel mov eax,1 ;system call number(sys_exit) int 0x80 ;call kernel section .data msg db 'Displaying 9 *', 0xa ;message len equ $ -msg ;length of message s2 times 9 db '*'
run
|
edit
|
history
|
help
0
Lec4b
intarith
dsaffdsfdsfs
HelloWorldAssem
helloLab
Block traspher
fdsfdasfdsfd
dfsfdafds
hkvhkvhk
index1