D Bare Bones II: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
m Bot: Replace deprecated source tag with syntaxhighlight
m Bot: Replace deprecated source tag with syntaxhighlight
 
Line 13: Line 13:
==start.asm==
==start.asm==


<source lang="asm">
<syntaxhighlight lang="asm">


global start
global start
Line 74: Line 74:
resb STACKSIZE
resb STACKSIZE


</syntaxhighlight>
</source>


Assemble that with:
Assemble that with:
Line 81: Line 81:


==kernel.main.d==
==kernel.main.d==
<source lang="d">
<syntaxhighlight lang="d">
module kernel.main;
module kernel.main;
import core.volatile;
import core.volatile;
Line 138: Line 138:
}
}
}
}
</syntaxhighlight>
</source>


You then compile that with:
You then compile that with: