Happy About the progress
This commit is contained in:
Executable
BIN
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,21 @@
|
||||
.global _start
|
||||
.intel_syntax noprefix
|
||||
|
||||
_start:
|
||||
// sys_write
|
||||
mov rax, 1
|
||||
mov rdi, 1
|
||||
lea rsi, [hello_world]
|
||||
mov rdx, 14
|
||||
syscall
|
||||
|
||||
|
||||
// sys_exit
|
||||
mov rdi, 60
|
||||
mov rdi, 69
|
||||
syscall
|
||||
|
||||
hello_world:
|
||||
.asciz "Hello, World!\n"
|
||||
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,11 @@
|
||||
|
||||
# VIM Notes
|
||||
|
||||
:wq - Save and Exit
|
||||
:q! - Exit without Saving
|
||||
:q - Exit only If Unchanged.
|
||||
:x Quick Save and Exit.
|
||||
|
||||
# Keyboard Shortcuts
|
||||
ESC - From Normal to a state where you can enter commands.
|
||||
I = Get into Insert mode.
|
||||
Reference in New Issue
Block a user