working on this repo again...
This commit is contained in:
@ -25,7 +25,6 @@ indent_style = tab
|
|||||||
indent_size = 2
|
indent_size = 2
|
||||||
charset = utf-8
|
charset = utf-8
|
||||||
|
|
||||||
|
|
||||||
[*.{natvis, natstepfilter}]
|
[*.{natvis, natstepfilter}]
|
||||||
indent_style = tab
|
indent_style = tab
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
build/**
|
build/**
|
||||||
|
.vscode/settings.json
|
||||||
|
9
.vscode/settings.json
vendored
9
.vscode/settings.json
vendored
@ -1,9 +0,0 @@
|
|||||||
{
|
|
||||||
"files.associations": {
|
|
||||||
"*.rmd": "markdown",
|
|
||||||
"pop_ignores.inline.h": "c",
|
|
||||||
"basic_types.h": "c",
|
|
||||||
"push_ignores.inline.h": "c",
|
|
||||||
"memory.h": "c"
|
|
||||||
}
|
|
||||||
}
|
|
@ -122,7 +122,4 @@ typedef s8 b8;
|
|||||||
typedef s16 b16;
|
typedef s16 b16;
|
||||||
typedef s32 b32;
|
typedef s32 b32;
|
||||||
|
|
||||||
typedef void* memptr;
|
|
||||||
typedef void const* memptr_const;
|
|
||||||
|
|
||||||
#pragma endregion Basic Types
|
#pragma endregion Basic Types
|
||||||
|
@ -1,16 +1,15 @@
|
|||||||
; hello.asm - Hello World with debug symbols for NASM
|
; hello.asm - Hello World with debug symbols for YASM
|
||||||
BITS 64 ; Explicitly specify 64-bit mode
|
BITS 64 ; Explicitly specify 64-bit mode
|
||||||
DEFAULT REL ; Use RIP-relative addressing by default
|
DEFAULT REL ; Use RIP-relative addressing by default
|
||||||
|
|
||||||
; Data section
|
; Data section
|
||||||
section .data
|
section .data
|
||||||
message db "Hello, World!", 13, 10, 0 ; String with CRLF and null terminator
|
message db "Hello, x86-64 ASM!", 13, 10, 0 ; String with CRLF and null terminator
|
||||||
message_len equ $ - message ; Calculate string length
|
message_len equ $ - message ; Calculate string length
|
||||||
|
|
||||||
; Code section
|
; Code section
|
||||||
section .text
|
section .text
|
||||||
global main ; Export main symbol for linker
|
global main ; Export main symbol for linker
|
||||||
|
|
||||||
extern ExitProcess ; Import Windows API functions
|
extern ExitProcess ; Import Windows API functions
|
||||||
extern GetStdHandle
|
extern GetStdHandle
|
||||||
extern WriteConsoleA
|
extern WriteConsoleA
|
||||||
|
26283
toolchain/gencpp/gen.hpp
26283
toolchain/gencpp/gen.hpp
File diff suppressed because it is too large
Load Diff
29125
toolchain/gencpp/gencpp_c11.h
Normal file
29125
toolchain/gencpp/gencpp_c11.h
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user