Mercurial > pub > dyncall > dyncall
view portasm/README.txt @ 651:cab0031c6691
- arm64 files:
* // to /* comments */ (b/c dyncall supports pre-c99 toolchains, in this case it's more for consistency reasons throughout dyncall, as arm64 is newer than 1999)
* removed comment with dead link
* cosmetics
- portasm readme addition
author | Tassilo Philipp |
---|---|
date | Thu, 07 Mar 2024 10:34:10 +0100 |
parents | ab2d78e48ca2 |
children |
line wrap: on
line source
portasm - a toolkit for writing portable generic assembler sources ------------------------------------------------------------------ Copyright (C) 2011 Daniel Adler <dadler@uni-goettingen.de>. Licensed under BSD two-clause license. Requirements ------------ - C Preprocessor Supported Architectures and Tool-chains: ---------------------------------------- - x86: gas, apple as, masm - x64: gas, apple as, masm - ppc: gas, apple as - ppc64: gas, apple as - arm: gas, apple as - arm64: gas, apple as Usage: ------ Implement assembler sources in *.S files which use C preprocessor. #include portasm-<ARCH>.S at front In order to generate MASM files for X86 and X64, run 'gen-masm.sh <name> [<outsuffix>]' script which reads <name>.S and outputs <name><outsuffix>.masm file. Common Macros: -------------- BEGIN_ASM END_ASM BEGIN_PROC(name) END_PROC(name) GLOBAL(name) HEX(value)