digitalmars.D - 16-bit inline assembler?
- Mehrdad (4/4) Jul 24 2011 Hi!
- KennyTM~ (3/7) Jul 24 2011 That's unlikely. D has no plan to support < 32-bit systems*.
- Walter Bright (3/7) Jul 24 2011 You can do it with the Digital Mars C compiler!
- Mehrdad (7/16) Jul 24 2011 Omg I didn't know that! I'll give it a try, but then that wouldn't be D,...
Hi! Is 16-bit inline assembly possible with DMD? If not, would it be difficult to add the feature? That way you might actually be able to write a boot loader in pure D. :)
Jul 24 2011
On Jul 25, 11 02:14, Mehrdad wrote:Hi! Is 16-bit inline assembly possible with DMD? If not, would it be difficult to add the feature? That way you might actually be able to write a boot loader in pure D. :)That's unlikely. D has no plan to support < 32-bit systems*. http://d-programming-language.org/overview.html
Jul 24 2011
On 7/24/2011 11:14 AM, Mehrdad wrote:Hi! Is 16-bit inline assembly possible with DMD? If not, would it be difficult to add the feature? That way you might actually be able to write a boot loader in pure D. :)You can do it with the Digital Mars C compiler! Adding it to D would be rather complicated and probably not worthwhile.
Jul 24 2011
On 7/24/2011 12:36 PM, Walter Bright wrote:On 7/24/2011 11:14 AM, Mehrdad wrote:Omg I didn't know that! I'll give it a try, but then that wouldn't be D, haha. It just seems really awesome to be able to build a kernel from scratch that doesn't need assembly at all. But arguably, aside from the awesomeness, there's not much of a reason for doing that, so it's totally understandable if it doesn't happen. Thanks!Hi! Is 16-bit inline assembly possible with DMD? If not, would it be difficult to add the feature? That way you might actually be able to write a boot loader in pure D. :)You can do it with the Digital Mars C compiler! Adding it to D would be rather complicated and probably not worthwhile.
Jul 24 2011