Comments (3)
The inline assembly doesn't contain all features that a fully implemented assembler has. DMD has a custom assembler language as well.
For example it can't handle outputting 16bit or 32bit code while compiling for 64bit, it is only good for small generic thing, nothing else.
DMD doesn't have a linker built in it uses the systems linker, so PowerNex requires a crosscompiled linker.
I maybe need to read up on some osdev stuff https://wiki.osdev.org/Why_do_I_need_a_Cross_Compiler%3F
from powernex.
from powernex.
Inline assembly is never an alternative to a real assembler.
It is only a complement, for example I will never write init*.S as inline assembler.
Because to my knowledge LLVM/LDC doesn't support outputting 16bit or 32bit code while compiling for 64bit.
I will probably never switch to LDC, I want to add support for it, but DMD will always be the first class citizen of PowerNex.
from powernex.
Related Issues (20)
- Stat syscall HOT 1
- Internationalization/Multi-byte API support HOT 1
- root
- xpolsed HOT 1
- Making a cross-compiler for a custom kernel HOT 1
- SUGGEST: CMake as build system HOT 1
- ACPI issues after SMP update HOT 15
- init32.S: Seemingly no-op start function HOT 7
- [BUG+FIX] ToolchainManager.d has an environmental assumption HOT 1
- toolchainManager.d - Clone and compile powernex-dmd, binutils, gdb
- toolchainManager.d fails at binutils:47% HOT 3
- [q] how to start as a contributor HOT 2
- [Jenkins] Fix setGitHubPullRequestStatus for PR
- New runtime for loader and kernel HOT 1
- Update kernel code
- Fix the error messages inside of PowerD HOT 1
- Create memory map documentation
- How can I join the development team or carry on this project?
- powernexos.org/ security HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from powernex.